コード例 #1
0
ファイル: Theme.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct($layout, Exception $oCause = null)
 {
     parent::__construct(app_l('Theme', 'E_NoSuchLayout'), array($layout), $oCause);
 }
コード例 #2
0
ファイル: Menu.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct($optionName, Exception $oCause = null)
 {
     parent::__construct(app_l('Menu', 'E_NoSuchOption'), array($optionName), $oCause);
 }
コード例 #3
0
ファイル: Page.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct(Page_Component $origin, $outputFormat, Exception $oCause = null)
 {
     parent::__construct(app_l('Page', 'E_OutputFormatNotSupported'), array(get_class($origin), $outputFormat), $oCause);
 }