public function __construct($pn_id = null)
 {
     require_once __CA_MODELS_DIR__ . "/ca_editor_uis.php";
     require_once __CA_MODELS_DIR__ . "/ca_acl.php";
     parent::__construct($pn_id);
     # call superclass constructor
     $this->initLabelDefinitions();
 }
 public function __construct($pn_id = null)
 {
     require_once __CA_MODELS_DIR__ . "/ca_editor_uis.php";
     require_once __CA_MODELS_DIR__ . "/ca_acl.php";
     require_once __CA_MODELS_DIR__ . '/ca_metadata_dictionary_entries.php';
     parent::__construct($pn_id);
     # call superclass constructor
     if ($pn_id) {
         if ($this->_rowAsSearchResult = $this->makeSearchResult($this->tableName(), array($pn_id))) {
             $this->_rowAsSearchResult->nextHit();
         }
     }
     $this->initLabelDefinitions();
 }
예제 #3
0
 public function __construct($pn_id = null)
 {
     ca_metadata_elements::$s_settings_cache[null] = array();
     ca_metadata_elements::$s_setting_value_cache[null] = array();
     parent::__construct($pn_id);
     # call superclass constructor
     $this->FIELDS['datatype']['BOUNDS_CHOICE_LIST'] = array_flip(ca_metadata_elements::getAttributeTypes());
 }
예제 #4
0
 public function __construct($pn_id = null)
 {
     MemoryCache::save('no_key', array(), 'ElementSettings');
     MemoryCache::save('no_key', array(), 'ElementSettingValues');
     parent::__construct($pn_id);
     # call superclass constructor
     $this->FIELDS['datatype']['BOUNDS_CHOICE_LIST'] = array_flip(ca_metadata_elements::getAttributeTypes());
 }