deleteFile() 공개 메소드

Delete a file from the list.
public deleteFile ( string $file ) : null
$file string The file name.
리턴 null
예제 #1
0
파일: Contents.php 프로젝트: horde/horde
 /**
  * Delete a file from the list.
  *
  * @param string $file The file name.
  *
  * @return NULL
  */
 public function delete($file)
 {
     $this->_dir_list->deleteFile($file);
     if (isset($this->_install_list[$file])) {
         $this->_xml->removeWhitespace($this->_install_list[$file]->nextSibling);
         $this->_filelist->removeChild($this->_install_list[$file]);
     }
 }