deleteFile() public method

Delete a file from the list.
public deleteFile ( string $file ) : null
$file string The file name.
return 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]);
     }
 }