/** * */ public function getRepresentationCount() { if ($this->get('table_num') != 57) { return null; } $t_object = new ca_objects($this->get('row_id')); return (int) $t_object->getRepresentationCount(); }
/** * */ public function getRepresentationCount() { if (!($vn_item_id = $this->getPrimaryKey())) { return null; } $t_object = new ca_objects($this->get('object_id')); return (int) $t_object->getRepresentationCount(); }