Public Member Functions | |
attachDriver () | |
queryType ($qType) | |
exec ($cleanUp=true) | |
colExist ($realColName) | |
colAliasExists ($colAliasName) | |
readCol ($colRealName, $flag=true) | |
readAlias ($colAliasName, $flag=true) | |
writeCol ($realColName, $val, $quote=ZIGORM_QUOTE) | |
writeColAlias ($colAliasName, $val, $quote=ZIGORM_QUOTE, $silent=false) | |
real2Alias ($realColName) | |
alias2Real ($colAliasName) | |
addColCriteria ($colRealName, $value, $op, $cnj, $quote) | |
addAliasCriteria ($colAliasName, $value, $op, $cnj, $quote) | |
rawExport () | |
numRows () | |
affectedRows () | |
getPk () | |
getFk () | |
Data Fields | |
$driver | |
$validation | |
Private Member Functions | |
init () | |
initLex () | |
Private Attributes | |
$lex | |
$tableAlias | |
$realTableName | |
Set on Generated orm Class. | |
$colv | |
$this->colv[real_column_name] = ColAliasName | |
$queryType | |
Just Reverse of the above colList. | |
$connAlias | |
Set on Generated orm Table. | |
$__struct | |
Set on Generated Orm Table. | |
$numRows | |
$affectedRows | |
$rawExported = null | |
$pk | |
$fk | |
$colQuote | |
$__rdbmsJoin = false | |
$__indexKey | |
$rawSql | |
$trgUpdate = false | |
$trgUpdateCol = array() | |
$trgInsert = false | |
$trgInsertCol = array() | |
$trgExport = false | |
$trgExportCol = array() | |
$trgDelete = false | |
$isJoined = false | |
$joiner = null |
For internal use only.
Definition at line 93 of file module/orm/core.php.
zOrm_core::init | ( | ) | [private] |
For internal use only.
Initializes the ORM Layer
Definition at line 214 of file module/orm/core.php.
References $__ZigOrm, attachDriver(), zLogger::debug(), getFk(), getPk(), and initLex().
Referenced by zDynOrm::__construct(), and zDbAccess::__construct().
00214 { 00215 $this->tableAlias = $this->__struct->alias; 00216 zLogger::debug("Initializing zigmoyd Orm Layer of $this->tableAlias Table", "orm.$this->tableAlias"); 00217 global $__ZigOrm; 00218 if(!defined('ZIGORM_ORDER_ASC')){define('ZIGORM_ORDER_ASC', 'a');} 00219 if(!defined('ZIGORM_ORDER_DESC')){define('ZIGORM_ORDER_DESC', 'd');} 00220 if(!defined('ZIGORM_Q_SELECT')){define('ZIGORM_Q_SELECT', 's');} 00221 if(!defined('ZIGORM_Q_INSERT')){define('ZIGORM_Q_INSERT', 'i');} 00222 if(!defined('ZIGORM_Q_UPDATE')){define('ZIGORM_Q_UPDATE', 'u');} 00223 if(!defined('ZIGORM_Q_REMOVE')){define('ZIGORM_Q_REMOVE', 'r');} 00224 if(!defined('ZIGORM_Q_SQL')){define('ZIGORM_Q_SQL', 'q');} 00225 if(!defined('ZIGORM_Q_TRUNCATE')){define('ZIGORM_Q_TRUNCATE', 't');} 00226 if(!defined('ZIGORM_NO_FLUSH')){define('ZIGORM_NO_FLUSH', false);} 00227 if(!defined('ZIGORM_FLUSH')){define('ZIGORM_FLUSH', true);} 00228 if(!defined('ZIGORM_NO_QUOTE'))define('ZIGORM_NO_QUOTE', false); 00229 if(!defined('ZIGORM_QUOTE'))define('ZIGORM_QUOTE', true); 00230 if(!defined('ZIGORM_Q_JOIN')){define('ZIGORM_Q_JOIN', 'j');} 00231 if(!defined('ZIGORM_Q_AUTOJOIN')){define('ZIGORM_Q_AUTOJOIN', 'aj');} 00232 if(!defined('ZIGORM_JOIN_CROSS'))define('ZIGORM_JOIN_CROSS', 'jc'); 00233 if(!defined('ZIGORM_JOIN_LEFT'))define('ZIGORM_JOIN_LEFT', 'jl'); 00234 if(!defined('ZIGORM_JOIN_RIGHT'))define('ZIGORM_JOIN_RIGHT', 'jr'); 00235 if(!defined('ZIGORM_JOIN_FULL'))define('ZIGORM_JOIN_FULL', 'jf'); 00236 if(!defined('ZIGORM_JOIN_INNER'))define('ZIGORM_JOIN_INNER', 'ji'); 00237 if(!defined('ZIGORM_JOIN_NATURAL'))define('ZIGORM_JOIN_NATURAL', 'jn'); 00238 if(!defined('ZIGORM_OP_EQUALS'))define('ZIGORM_OP_EQUALS', '='); 00239 if(!defined('ZIGORM_OP_GREATER'))define('ZIGORM_OP_GREATER', '>'); 00240 if(!defined('ZIGORM_OP_LESS'))define('ZIGORM_OP_LESS', '<'); 00241 if(!defined('ZIGORM_OP_GREATER_EQUALS'))define('ZIGORM_OP_GREATER_EQUALS', '>='); 00242 if(!defined('ZIGORM_OP_LESS_EQUALS'))define('ZIGORM_OP_LESS_EQUALS', '<='); 00243 if(!defined('ZIGORM_OP_NOT_EQUALS'))define('ZIGORM_OP_NOT_EQUALS', '<>'); 00244 $this->tableAlias = $this->__struct->alias;//Set the table Alias Name for Quick Need 00245 $__ZigOrm->dataDict->tables[$this->realTableName] = $this->tableAlias;//Store the real nams and its alias name in the global scope 00246 //{ set the real Column name and their alias name 00247 $tmp = $this->__struct->Attributes; 00248 foreach($tmp as $realColName => $colObj){ 00249 $this->colv[$realColName] = $colObj->alias; 00250 } 00251 //} 00252 $this->validation = new stdClass(); 00253 $this->initLex(); 00254 $this->attachDriver(); 00255 $this->getPk(); 00256 if(Z_ORM_AUTO_FK_LOOKUP){ 00257 $this->getFk(); 00258 } 00259 }
zOrm_core::initLex | ( | ) | [private] |
Initializes all SQL Lexims
For internal use only.
Definition at line 265 of file module/orm/core.php.
References $lex, and zLogger::debug().
Referenced by exec(), init(), and zOrm_base::update().
00265 { 00266 zLogger::debug("Initializing SQL Lexims Map $this->tableAlias Table", "orm.$this->tableAlias"); 00267 $lex = array(); 00268 $lex['table'] = $this->realTableName; 00269 $lex['distinct'] = false; 00270 $lex['where'] = false; 00271 $lex['whereLex'] = false; 00272 $lex['order'] = array(); 00273 $lex['limit'] = false; 00274 $lex['group'] = false; 00275 $lex['having'] = false; 00276 $src = $this->__struct->Attributes; 00277 foreach($src as $realColName => $colObj){ 00278 $lex['aliasProperCaps'][$realColName] = $colObj->alias; 00279 $lex['reverseAlias'][$colObj->alias] = $realColName; 00280 $lex['alias'][strtolower($colObj->alias)] = $colObj->alias; 00281 $lex['select'][$realColName] = false; 00282 $lex['attributes'] = array(); 00283 if($colObj->permission == 'writable'){ 00284 //$lex['attributes'][$realColName] = false; 00285 $lex['__attr'][$realColName] = true; 00286 $this->colQuote[$realColName] = true; 00287 } 00288 } 00289 $lex['join'] = array(); 00290 $lex['join']['col'] = array(); 00291 $lex['join']['on'] = array(); 00292 $lex['join']['type'] = ''; 00293 //$lex->whereLex = array(); 00294 $lex['whereLex'] = array(); 00295 $this->rawExported = null; 00296 $this->lex = $lex; 00297 $this->trgUpdate = false; 00298 $this->trgUpdateCol = array(); 00299 $this->trgInsert = false; 00300 $this->trgInsertCol = array(); 00301 $this->trgExport = false; 00302 $this->trgExportCol = array(); 00303 $this->trgDelete = false; 00304 }
zOrm_core::attachDriver | ( | ) |
Attach a Driver.
$driverName | strign Name of the driver that will be used. |
Definition at line 310 of file module/orm/core.php.
References $GLOBALS, and zLogger::debug().
Referenced by init().
00310 { 00311 zLogger::debug("Using MySql driver for $this->tableAlias Table", "orm.$this->tableAlias"); 00312 include_once(ZIGROOT.DRS.MOD_KEY_NAME_EXPLICIT.DRS."orm".DRS."driver".DRS."mysql.php"); 00313 $GLOBALS['__zigmoyd__Orm_drv'] = new OrmDriver_mysql(); 00314 }
zOrm_core::queryType | ( | $ | qType | ) |
Sets the Query Type. Following are the list of Query types.
ZIGORM_Q_SELECT ZIGORM_Q_INSERT ZIGORM_Q_UPDATE ZIGORM_Q_REMOVE ZIGORM_Q_SQL ZIGORM_Q_TRUNCATE ZIGORM_Q_JOIN ZIGORM_Q_AUTOJOIN
$qType | int |
Definition at line 330 of file module/orm/core.php.
Referenced by zOrm_base::delete(), exec(), zOrm_base::insert(), zOrm_base::remove(), and zOrm_base::update().
00330 { 00331 $this->queryType = $qType; 00332 }
zOrm_core::exec | ( | $ | cleanUp = true |
) |
Uses the driver and executes the SQL Query.
$cleanUp | booloean Optional If set to true Cleans up the Lexims when operation finishes defaults to true |
Definition at line 337 of file module/orm/core.php.
References $GLOBALS, affectedRows(), zLogger::debug(), initLex(), numRows(), perror(), and queryType().
Referenced by zOrm_base::delete(), zOrm_base::insert(), zOrm_base::remove(), and zOrm_base::update().
00337 { 00338 zLogger::debug("executing Query on $this->tableAlias Table", "orm.$this->tableAlias"); 00339 $GLOBALS['__zigmoyd__Orm_drv']->connAlias($this->connAlias); 00340 if(!$GLOBALS['__zigmoyd__Orm_drv']->connect()){ 00341 perror("<code>zigmoyd.orm.core.execute</code><br />Failed To Connect $this->connAlias"); 00342 return false; 00343 } 00344 $GLOBALS['__zigmoyd__Orm_drv']->pasteLex($this->lex); 00345 $GLOBALS['__zigmoyd__Orm_drv']->setCaller(&$this); 00346 $GLOBALS['__zigmoyd__Orm_drv']->qType($this->queryType); 00347 if(!$GLOBALS['__zigmoyd__Orm_drv']->execute()){ 00348 perror("<code>zigmoyd.orm.core.execute</code><br />Failed to execute Query"); 00349 return false; 00350 } 00351 $this->rawSql = $GLOBALS['__zigmoyd__Orm_drv']->sql; 00352 if($cleanUp)$this->initLex(); 00353 $this->rawExported = $GLOBALS['__zigmoyd__Orm_drv']->exportRaw(); 00354 $this->numRows = $GLOBALS['__zigmoyd__Orm_drv']->numRows(); 00355 $this->affectedRows = $GLOBALS['__zigmoyd__Orm_drv']->affectedRows(); 00356 if(!$GLOBALS['__zigmoyd__Orm_drv']->disConnect()){ 00357 perror("<code>zigmoyd.orm.core.execute</code><br />Failed TO Disconnect"); 00358 return false; 00359 } 00360 return true; 00361 }
zOrm_core::colExist | ( | $ | realColName | ) |
Checks wheather or not a Column exists.
$realColName | string Real Column Name to check |
Definition at line 367 of file module/orm/core.php.
Referenced by addColCriteria(), readAlias(), readCol(), and real2Alias().
zOrm_core::colAliasExists | ( | $ | colAliasName | ) |
Checks wheather or not a Column exists.
$colAliasName | string Column Alias Name to check |
Definition at line 375 of file module/orm/core.php.
Referenced by addAliasCriteria(), alias2Real(), zOrm_noMagic::forceJoin(), and readAlias().
zOrm_core::readCol | ( | $ | colRealName, | |
$ | flag = true | |||
) |
Marks a Column to be selected.
$colRealName | string Real Column Name | |
$flag | boolean mark/unmark the Column to be selected. |
Definition at line 384 of file module/orm/core.php.
References colExist(), and perror().
00384 { 00385 if(!$this->colExist($colRealName)){ 00386 perror("Invalid Column Real Name");//see Line function initLex() 00387 return false; 00388 } 00389 $this->lex['select'][$colRealName] = $flag; 00390 }
zOrm_core::readAlias | ( | $ | colAliasName, | |
$ | flag = true | |||
) |
Marks a Column to be selected.
$colAliasName | string Column Alias Name | |
$flag | boolean mark/unmark the Column to be selected. |
Definition at line 397 of file module/orm/core.php.
References alias2Real(), colAliasExists(), colExist(), and perror().
Referenced by zOrm_noMagic::fetch().
00397 { 00398 if(!$this->colAliasExists($colAliasName)){ 00399 perror("Invalid Column Alias Name $colAliasName"); 00400 } 00401 if(!$this->colExist($this->alias2Real($colAliasName))){ 00402 perror("Invalid Column $colAliasName"); 00403 } 00404 $this->lex['select'][$this->lex['reverseAlias'][$colAliasName]] = $flag; 00405 return true; 00406 }
zOrm_core::writeCol | ( | $ | realColName, | |
$ | val, | |||
$ | quote = ZIGORM_QUOTE | |||
) |
Writes data to a Column.
$colRealName | string Real Column Name | |
$val | string value to be written on that column | |
$quote | int adds Quote (') arround the value or not. can be ZIGORM_QUOTE or ZIGORM_NO_QUOTE |
Definition at line 414 of file module/orm/core.php.
References $val, and perror().
00414 { 00415 if($this->__struct->Attributes[$realColName]->permission == 'writable'){ 00416 $this->lex['attributes'][$realColName] = $val; 00417 $this->colQuote[$realColName] = ($quote==ZIGORM_QUOTE); 00418 return true; 00419 }else{ 00420 perror("<code>zigmoyd.orm.core.writeCol($realColName, $val)</code><br />Column $realColName is not writable"); 00421 return false; 00422 } 00423 }
zOrm_core::writeColAlias | ( | $ | colAliasName, | |
$ | val, | |||
$ | quote = ZIGORM_QUOTE , |
|||
$ | silent = false | |||
) |
Writes data to a Column.
$colAliasName | string Column Alias Name | |
$val | string value to be written on that column | |
$quote | int adds Quote (') arround the value or not. can be ZIGORM_QUOTE or ZIGORM_NO_QUOTE |
Definition at line 431 of file module/orm/core.php.
References $val, alias2Real(), and perror().
Referenced by zOrm_noMagic::set().
00431 { 00432 if($this->__struct->Attributes[$this->lex['reverseAlias'][$colAliasName]]->permission == 'writable'){ 00433 $this->lex['attributes'][$this->lex['reverseAlias'][$colAliasName]] = $val; 00434 $this->colQuote[$this->alias2Real($colAliasName)] = ($quote==ZIGORM_QUOTE); 00435 return true; 00436 }else{ 00437 if(!$silent)perror("<code>zigmoyd.orm.core.writeAlias($colAliasName, $val)</code><br />Column $colAliasName is not writable"); 00438 return false; 00439 } 00440 }
zOrm_core::real2Alias | ( | $ | realColName | ) |
get a Column Alias name by Real Column name.
$realColName | string Real Column Name |
Definition at line 445 of file module/orm/core.php.
References colExist().
Referenced by zOrm_base::insert(), and zOrm_base::update().
00445 { 00446 if($this->colExist($realColName)){ 00447 return $this->lex['aliasProperCaps'][$realColName]; 00448 } 00449 return false; 00450 }
zOrm_core::alias2Real | ( | $ | colAliasName | ) |
get a real Column Name by Column Alias name
$colAliasName | string Column Alias Name |
Definition at line 455 of file module/orm/core.php.
References colAliasExists().
Referenced by addAliasCriteria(), zOrm_base::insert(), zOrm_base::order(), readAlias(), zOrm_base::update(), and writeColAlias().
00455 { 00456 if($this->colAliasExists($colAliasName)){ 00457 return $this->lex['reverseAlias'][$colAliasName]; 00458 } 00459 return false; 00460 }
zOrm_core::addColCriteria | ( | $ | colRealName, | |
$ | value, | |||
$ | op, | |||
$ | cnj, | |||
$ | quote | |||
) |
Add Criteria for a Column. Which will be merged into where Clause. These are the Operators that can be used.you can use teh defined Constants as well as the Operators as String.
ZIGORM_OP_EQUALS = ZIGORM_OP_GREATER > ZIGORM_OP_LESS < ZIGORM_OP_GREATER_EQUALS >= ZIGORM_OP_LESS_EQUALS <= ZIGORM_OP_NOT_EQUALS <> LIKEConjunction can be and, or. $quote Flag can be
ZIGORM_QUOTE
or ZIGORM_NO_QUOTE
as well as true
or false
$colRealName | string Column Real Name | |
$value | string value of the Column in the Criteria | |
$op | string Operator that will be used between Column and Value | |
$cnj | string Conjunction taht will be used e.g. and, or | |
$quote | booloean would the value be quoted in '' (Single Quotes) |
Definition at line 483 of file module/orm/core.php.
References colExist(), and perror().
Referenced by zOrm_noMagic::identifyBy().
00483 { 00484 if(!$this->colExist($colRealName)){ 00485 perror("Invalid Column Name"); 00486 return false; 00487 } 00488 $whereObj = new stdClass(); 00489 $whereObj->colName = $colRealName; 00490 $whereObj->op = $op; 00491 $whereObj->value = $value; 00492 $whereObj->cnj = $cnj; 00493 $whereObj->quote = $quote; 00494 $this->lex['whereLex'][] = $whereObj; 00495 return true; 00496 }
zOrm_core::addAliasCriteria | ( | $ | colAliasName, | |
$ | value, | |||
$ | op, | |||
$ | cnj, | |||
$ | quote | |||
) |
Add Criteria for a Column. Which will be merged into where Clause. These are the Operators that can be used.you can use teh defined Constants as well as the Operators as String.
ZIGORM_OP_EQUALS = ZIGORM_OP_GREATER > ZIGORM_OP_LESS < ZIGORM_OP_GREATER_EQUALS >=; ZIGORM_OP_LESS_EQUALS <= ZIGORM_OP_NOT_EQUALS <> LIKEConjunction can be and, or. $quote Flag can be
ZIGORM_QUOTE
or ZIGORM_NO_QUOTE
as well as true
or false
$colAliasName | string Column Alias Name | |
$value | string value of the Column in the Criteria | |
$op | string Operator that will be used between Column and Value | |
$cnj | string Conjunction taht will be used e.g. and, or | |
$quote | booloean would the value be quoted in '' (Single Quotes) |
Definition at line 519 of file module/orm/core.php.
References alias2Real(), colAliasExists(), and perror().
Referenced by zOrm_noMagic::identifyBy().
00519 { 00520 if(!$this->colAliasExists($colAliasName)){ 00521 perror("Invalid Column Alias Name"); 00522 return false; 00523 } 00524 $whereObj = new stdClass(); 00525 $whereObj->colName = $this->alias2Real($colAliasName); 00526 $whereObj->op = $op; 00527 $whereObj->value = $value; 00528 $whereObj->cnj = $cnj; 00529 $whereObj->quote = $quote; 00530 $this->lex['whereLex'][] = $whereObj; 00531 return true; 00532 }
zOrm_core::rawExport | ( | ) |
Returns the Raw Exported result of the select Query
Definition at line 536 of file module/orm/core.php.
zOrm_core::numRows | ( | ) |
Number of Rows in the result Set.
Definition at line 542 of file module/orm/core.php.
Referenced by exec().
00542 { 00543 return $this->numRows; 00544 }
zOrm_core::affectedRows | ( | ) |
Number of Rows affected by the insert or Update or remove Query.
Definition at line 548 of file module/orm/core.php.
Referenced by exec().
00548 { 00549 return $this->affectedRows; 00550 }
zOrm_core::getPk | ( | ) |
retrives the Primary Key, or multi Column Primary key.
Definition at line 554 of file module/orm/core.php.
Referenced by init().
00554 { 00555 $GLOBALS['__zigmoyd__Orm_drv']->connAlias($this->connAlias); 00556 $GLOBALS['__zigmoyd__Orm_drv']->connect(); 00557 $GLOBALS['__zigmoyd__Orm_drv']->pasteLex($this->lex); 00558 $GLOBALS['__zigmoyd__Orm_drv']->setCaller(&$this); 00559 $pk = $GLOBALS['__zigmoyd__Orm_drv']->getPrimaryKey(); 00560 $GLOBALS['__zigmoyd__Orm_drv']->disConnect(); 00561 if(!is_array($pk) || count($pk) == 0){ 00562 $this->pk = false; 00563 return false; 00564 } 00565 foreach($pk as $pkObj){ 00566 $this->pk[] = $pkObj; 00567 } 00568 return true; 00569 }
zOrm_core::getFk | ( | ) |
retrives the foriegn Keys
Definition at line 573 of file module/orm/core.php.
References $__ZigOrm, $fk, $GLOBALS, dataDict, and perror().
Referenced by init().
00573 { 00574 global $__ZigOrm; 00575 $GLOBALS['__zigmoyd__Orm_drv']->connAlias($this->connAlias); 00576 $GLOBALS['__zigmoyd__Orm_drv']->connect(); 00577 $GLOBALS['__zigmoyd__Orm_drv']->pasteLex($this->lex); 00578 $GLOBALS['__zigmoyd__Orm_drv']->setCaller(&$this); 00579 $fk = $GLOBALS['__zigmoyd__Orm_drv']->getForeignKey(); 00580 $GLOBALS['__zigmoyd__Orm_drv']->disConnect(); 00581 if(is_array($fk)){ 00582 foreach($fk as $fkObj){ 00583 if(!isset($__ZigOrm->dataDict->tables[$fkObj->ref_table])){ 00584 perror('<code>zigmoyd.orm.foreignTable.attach</code><br />'."Foreign Table <code><span style=\"background-color: #FFFFFF;font-weight: normal;\"> $fkObj->ref_table</span></code> fetched for 00585 <br />local Table <code><span style=\"background-color: #FFFFFF;font-weight: normal;\"> $this->realTableName </span></code> 00586 <br />with a relation of Local Column <code><span style=\"background-color: #FFFFFF;font-weight: normal;\"> $fkObj->src_col </code></span> 00587 <br />with the Foreign Column <code><span style=\"background-color: #FFFFFF;font-weight: normal;\"> $fkObj->ref_col</span></code> For Association 00588 <br />But failed as the Foreign Table Orm Class has yet not been made. 00589 <br />You must load the Parent Orm Map before the Child Orm map"); 00590 exit; 00591 } 00592 $this->fk[$fkObj->src_col] = new stdClass(); 00593 $this->fk[$fkObj->src_col]->table = $fkObj->ref_table; 00594 $this->fk[$fkObj->src_col]->col = $fkObj->ref_col; 00595 $foreignOrmClassName = $__ZigOrm->dataDict->tables[$fkObj->ref_table]; 00596 if(!class_exists($foreignOrmClassName)){ 00597 perror('<code>zigmoyd.orm.foreignTable.attach</code><br />'."Foreign table's orm Class not exists"); 00598 exit; 00599 } 00600 $this->{$__ZigOrm->dataDict->tables[$fkObj->ref_table]} =& new $foreignOrmClassName(); 00601 $this->{$__ZigOrm->dataDict->tables[$fkObj->ref_table]}->isJoined = true; 00602 $this->{$__ZigOrm->dataDict->tables[$fkObj->ref_table]}->joiner = &$this; 00603 } 00604 $this->__rdbmsJoin = true; 00605 return true; 00606 }else{ 00607 return false; 00608 } 00609 }
zOrm_core::$lex [private] |
Definition at line 97 of file module/orm/core.php.
Referenced by zOrm_magic::__call(), initLex(), and zOrm_magic::lexize().
zOrm_core::$tableAlias [private] |
zOrm_core::$realTableName [private] |
zOrm_core::$colv [private] |
zOrm_core::$queryType [private] |
zOrm_core::$driver |
Definition at line 120 of file module/orm/core.php.
Referenced by zDynOrm::colList(), and zDbAccess::colList().
zOrm_core::$connAlias [private] |
Set on Generated orm Table.
Definition at line 124 of file module/orm/core.php.
Referenced by zDynOrm::__construct(), zDbAccess::__construct(), zDbAccess::zDbAccess(), and zDynOrm::zDynOrm().
zOrm_core::$__struct [private] |
zOrm_core::$numRows [private] |
Definition at line 132 of file module/orm/core.php.
zOrm_core::$affectedRows [private] |
Definition at line 136 of file module/orm/core.php.
zOrm_core::$rawExported = null [private] |
Definition at line 140 of file module/orm/core.php.
zOrm_core::$pk [private] |
Definition at line 144 of file module/orm/core.php.
Referenced by getPk(), and zOrm_noMagic::identifyBy().
zOrm_core::$fk [private] |
zOrm_core::$validation |
Definition at line 155 of file module/orm/core.php.
zOrm_core::$colQuote [private] |
Definition at line 159 of file module/orm/core.php.
zOrm_core::$__rdbmsJoin = false [private] |
Definition at line 163 of file module/orm/core.php.
zOrm_core::$__indexKey [private] |
Definition at line 167 of file module/orm/core.php.
zOrm_core::$rawSql [private] |
Definition at line 171 of file module/orm/core.php.
zOrm_core::$trgUpdate = false [private] |
Definition at line 175 of file module/orm/core.php.
zOrm_core::$trgUpdateCol = array() [private] |
Definition at line 179 of file module/orm/core.php.
zOrm_core::$trgInsert = false [private] |
Definition at line 183 of file module/orm/core.php.
zOrm_core::$trgInsertCol = array() [private] |
Definition at line 187 of file module/orm/core.php.
zOrm_core::$trgExport = false [private] |
Definition at line 191 of file module/orm/core.php.
zOrm_core::$trgExportCol = array() [private] |
Definition at line 195 of file module/orm/core.php.
zOrm_core::$trgDelete = false [private] |
Definition at line 199 of file module/orm/core.php.
zOrm_core::$isJoined = false [private] |
Definition at line 203 of file module/orm/core.php.
zOrm_core::$joiner = null [private] |
Definition at line 207 of file module/orm/core.php.