A_Sql
[ class tree: A_Sql ] [ index: A_Sql ] [ all elements ]

Class: A_Sql_Update

Source Location: /Sql/Update.php

Class Overview

A_Sql_Statement
   |
   --A_Sql_Update

A_Sql_Update


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 15]
A_Sql_Update

Generate SQL UPDATE statement




[ Top ]


Class Variables

$joins = array()

[line 20]



Tags:

access:  protected

Type:   mixed


[ Top ]

$set =

[line 21]



Tags:

access:  protected

Type:   mixed


[ Top ]

$table =

[line 18]



Tags:

access:  protected

Type:   mixed


[ Top ]

$where =

[line 19]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 30]

A_Sql_Update __construct( [string $table = null], [array $bind = array()], [array $where = array()])

Constructor



Tags:

access:  public


Overrides A_Sql_Statement::__construct() (parent method not documented)

Parameters:

string   $table   Table name
array   $bind   Column-value pairs
array   $where   Where statement

[ Top ]

method join [line 54]

void join( $table1, $column1, $table2, $column2)



Tags:

access:  public


Parameters:

   $table1  
   $column1  
   $table2  
   $column2  

[ Top ]

method orWhere [line 71]

void orWhere( $data, [ $value = null])



Tags:

access:  public


Parameters:

   $data  
   $value  

[ Top ]

method render [line 80]

void render( )



Tags:

access:  public


[ Top ]

method set [line 45]

void set( $data, [ $value = null])



Tags:

access:  public


Parameters:

   $data  
   $value  

[ Top ]

method table [line 39]

void table( $table)



Tags:

access:  public


Parameters:

   $table  

[ Top ]

method where [line 60]

void where( $arg1, [ $arg2 = null], [ $arg3 = null])



Tags:

access:  public


Parameters:

   $arg1  
   $arg2  
   $arg3  

[ Top ]

method __toString [line 92]

void __toString( )



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 24 Jul 2011 00:03:41 +0000 by phpDocumentor 1.4.3