/** * Guarda un registro * */ public function save() { $this->{$this->_bindSessionId} = Session::getId(); parent::save(); }
/** * Constructor de la tabla * * @access public */ public function __construct() { //if(Facility::getFacility()==Facility::USER_LEVEL){ $tableName = $this->getSource(); $schemaName = $this->getSchema(); if ($schemaName == '') { $schemaName = $this->getConnection()->getDatabaseName(); } if (EntityManager::existsTemporaryEntity($tableName, $schemaName) == false) { $this->_createTemporaryTable($tableName, $schemaName); EntityManager::addTemporaryEntity($tableName); } //} parent::__construct(); }