getName() public method

Return the name of this directory.
public getName ( ) : string
return string The directory name.
Beispiel #1
0
 /**
  * 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());
         }
     }
 }