/** * 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()); }
/** * @see RM_Gpc_Mapper::children_types() **/ public function children_types($name) { return $this->_mapper->children_types($name); }