$root_pk
$root_pk : integer
root_pk
Class DAO_ORM
__call( $method, $args) : mixed
DESCRIPTOR: Dynamic GETTER SETTER SIGNATURE userObj->get(table, field); entity table userObj->get(table, field, pk); collection table
userObj->set(table, field, value); base table userObj->set(table, field, value, pk); entity table
$method | ||
$args |
generateQueries(string $key, string $value, string $table) : NULL
DESCRIPTOR: checks the "modifiedColumns" array and generates update statements based on the values of that array if the table is not set [NULL] do everything, if it is do only that table
string | $key | |
string | $value | |
string | $table |
generateInsertQuery( $table, $value) : string
DESCRIPTOR: checks the "modifiedColumns" array and generates update statements based on the values of that array if the table is not set [NULL] do everything, if it is do only that table set some flags to dynamically modify the insert query to use INSERT IGNORE ON DUPLICATE KEY UPDATE http://dev.mysql.com/doc/refman/5.5/en/insert.html
$table | ||
$value |