public function load($pm_id = NULL, $pb_use_cache = true)
 {
     if ($vn_rc = parent::load($pm_id)) {
         $this->loadSubtypeLists();
         return $vn_rc;
     }
     $this->FIELDS['sub_type_left_id']['BOUNDS_CHOICE_LIST'] = $this->FIELDS['sub_type_right_id']['BOUNDS_CHOICE_LIST'] = array();
     return $vn_rc;
 }
 public function load($pm_id = null, $pb_use_cache = true)
 {
     $vn_rc = parent::load($pm_id, $pb_use_cache);
     $vs_type = $this->getAnnotationType();
     $this->opo_annotations_properties = $this->loadProperties($vs_type);
     return $vn_rc;
 }
示例#3
0
 /**
  * Loads record.
  *
  * @access public
  * @param int $pn_set_item_id Set item id to load. 
  * @return bool Returns true if no error, false if error occurred
  */
 public function load($pn_set_item_id = null, $pb_use_cache = true)
 {
     $vn_rc = parent::load($pn_set_item_id, $pb_use_cache);
     # load set item vars (the get() method automatically unserializes the data)
     $this->opa_set_item_vars = $this->get("vars");
     $this->opa_set_item_vars_have_changed = false;
     if (!isset($this->opa_set_item_vars) || !is_array($this->opa_set_item_vars)) {
         $this->opa_set_item_vars = array();
     }
     return $vn_rc;
 }