예제 #1
0
 /**
  * Get inherited entities
  *
  * @return		RM_Store_iRequest<RM_Gpc_Entity>|array
  **/
 public function getChildren()
 {
     $children_type = @$this->_mapper->children_types($this->type());
     if (!$children_type) {
         return NULL;
     }
     return $this->_mapper->getList($children_type)->filter($this->type() . '_id = ?', $this->id());
 }
예제 #2
0
 /**
  * @see	RM_Gpc_Mapper::children_types()
  **/
 public function children_types($name)
 {
     return $this->_mapper->children_types($name);
 }