Example #1
0
 function __construct()
 {
     $this->_conn =& org_glizy_dataAccess_DataAccess::getConnection($this->_connNumber);
     $application = org_glizy_ObjectValues::get('org.glizy', 'application');
     $this->enableLog = !is_null($application->_logObj);
     //$this->_conn->debug = true;
 }
Example #2
0
 function __construct(&$parent, $options)
 {
     //parent::BaseClass();
     $this->_conn =& org_glizy_dataAccess_DataAccess::getConnection();
     $this->_parent =& $parent;
     assert(isset($options['className']));
     $this->_className = $options['className'];
 }
Example #3
0
 /**
  * @param int $n
  *
  * @return mixed
  */
 static function rollBack($n = 0)
 {
     $conn = org_glizy_dataAccess_DataAccess::getConnection($n);
     return $conn->rollBack();
 }