예제 #1
0
 protected function __construct($params = array())
 {
     parent::__construct($params);
     $fieldId = static::stGetFieldConfigFiltered(array("identifier" => true));
     // Si no existe, ponemos como no ok y paramos
     if (!isset($this->{$fieldId}) || static::stExists($this->{$fieldId}) === false) {
         $this->ok = false;
         return;
     }
     // añadimos el objectId
     $this->objectId = $this->{$fieldId};
     $this->fieldId = $fieldId;
 }
예제 #2
0
 protected function __construct($params = array())
 {
     $this->_processDegree($params);
     parent::__construct($params);
     LogsErrors::$stErrors[] = $this->params;
 }
 protected function __construct($params = array())
 {
     $params = array_merge(array("link" => $this->_connect(LoadConfig::stGetConfigClass())), $params);
     parent::__construct($params);
 }