getName() 공개 메소드

Return the name of this directory.
public getName ( ) : string
리턴 string The directory name.
예제 #1
0
파일: Directory.php 프로젝트: Gomez/horde
 /**
  * Prune this directory if it is empty.
  *
  * @return NULL
  */
 private function _prune()
 {
     if (empty($this->_files) && empty($this->_subdirectories)) {
         $this->_element->delete();
         if ($this->_parent instanceof Horde_Pear_Package_Xml_Directory) {
             $this->_parent->_deleteSubdirectory($this->_element->getName());
         }
     }
 }