⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filerepositorydeleteerror.class.php

📁 ProjectPier 源码 很好的项目管理程序
💻 PHP
字号:
<?php  /**  * This error is throw when we fail to remove file from the repository  *  * @version 1.0  * @http://www.projectpier.org/  */  class FileRepositoryDeleteError extends Error {      /**    * Unique file ID    *    * @var string    */    private $file_id;        /**    * Construct the FileRepositoryDeleteError    *    * @access public    * @param void    * @return FileRepositoryDeleteError    */    function __construct($file_id, $message = null) {      if (is_null($message)) $message = "Failed to remove '$file_id' from the '$repository_path' repository";      parent::__construct($message);      $this->setFileId($file_id);    } // __construct        /**    * Return errors specific params...    *    * @param void    * @return array    */    function getAdditionalParams() {      return array(        'file ID' => $this->getSource(),      ); // array    } // getAdditionalParams        // ---------------------------------------------------    //  Getters and setters    // ---------------------------------------------------        /**    * Get file_id    *    * @param null    * @return string    */    function getFileId() {      return $this->file_id;    } // getFileId        /**    * Set file_id value    *    * @param string $value    * @return null    */    function setFileId($value) {      $this->file_id = $value;    } // setFileId    } // FileRepositoryDeleteError?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -