/**
  * Returns the parent files absolute path.
  *
  * @return String parent files absolute path.
  */
 function getParent()
 {
     // If get parent on root the give it the local FS parent
     if ($this->_innerPath == "/") {
         $file = $this->_manager->getFile($this->_zipPath);
         return $file->getParent();
     }
     return Moxiecode_BaseFileImpl::getParent();
 }
Exemple #2
0
 function FavoriteFile(&$manager, $absolute_path, $child_name = "", $type = MC_IS_FILE)
 {
     $absolute_path = str_replace('favorite://', '', $absolute_path);
     Moxiecode_BaseFileImpl::Moxiecode_BaseFileImpl($manager, $absolute_path, $child_name, $type);
 }