Exemple #1
0
 /**
  *	Loads ObjectFs entity by ID. If fs parameter is specified,
  *	search is restricted only within this filesystem
  *
  *	@param		id		int							Entity (dir,file,...) id
  *	@param		fs		RM_ObjectFs_Filesystem		Search entity only within this fs.
  *	@return		RM_ObjectFs_Entity
  */
 public function loadById($id, RM_ObjectFs_Filesystem $fs = NULL)
 {
     return $this->_mapper->entityLoadById($id, $fs);
 }
Exemple #2
0
 public function getParent()
 {
     return $this->_mapper->entityLoadById($this->_props['parent_id']);
 }
Exemple #3
0
 /**
  *	Loads FS entity by id.
  *
  *	@param		id	int		Entity ID
  *	@return		RM_ObjectFs_Entity
  */
 public function loadById($id)
 {
     return $this->_mapper->entityLoadById($id, $this);
 }