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

📄 controllerdnxerror.class.php

📁 ProjectPier 源码 很好的项目管理程序
💻 PHP
字号:
<?php  /**  * Controller does not exists error, thrown when controller is missing  *  * @version 1.0  * @http://www.projectpier.org/  */  class ControllerDnxError extends Error {        /**    * Controller name    *    * @var string    */    private $controller;      /**    * Construct the ControllerDnxError    *    * @access public    * @param void    * @return ControllerDnxError    */    function __construct($controller, $message = null) {            // Prepare message      if (is_null($message)) {        $message = "Controller '$controller' is missing";      } // if            // Inherit...      parent::__construct($message);            // Set data...      $this->setController($controller);          } // __construct        /**    * Return errors specific params...    *    * @access public    * @param void    * @return array    */    function getAdditionalParams() {      return array(        'controller' => $this->getController()      ); // array    } // getAdditionalParams        /**    * Get controller    *    * @access public    * @param null    * @return string    */    function getController() {      return $this->controller;    } // getController        /**    * Set controller value    *    * @access public    * @param string $value    * @return null    */    function setController($value) {      $this->controller = $value;    } // setController    } // ControllerDnxError?>

⌨️ 快捷键说明

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