コード例 #1
0
ファイル: NoSuchMethod.php プロジェクト: stuartherbert/mf
 function __construct($methodName, $className, Exception $oCause = null)
 {
     if (is_object($className)) {
         $className = get_class($className);
     }
     parent::__construct(mf_l('MF_PHP', 'E_NoSuchMethod'), array($methodName, $className), $oCause);
 }
コード例 #2
0
ファイル: IsSingleton.php プロジェクト: stuartherbert/mf
 function __construct($className, Exception $oCause = null)
 {
     if (is_object($className)) {
         $className = get_class($className);
     }
     parent::__construct(mf_l('MF_PHP', 'E_IsSingleton'), array($className), $oCause);
 }
コード例 #3
0
 public function __construct($module, $pathToFile, Exception $oCause = null)
 {
     parent::__construct("No such translation file '%s' for module '%s'", array($pathToFile, $module), $oCause);
 }
コード例 #4
0
ファイル: NoSuchMethod.php プロジェクト: stuartherbert/mf
 public function __construct($methodName, $obj, Exception $oCause = null)
 {
     parent::__construct("No such method '%s' for object of type '%s'", array($methodName, get_class($obj)), $oCause);
 }
コード例 #5
0
ファイル: UnknownModule.php プロジェクト: stuartherbert/mf
 public function __construct($module, Exception $oCause = null)
 {
     parent::__construct("No translations provided for module '%s'", array($module), $oCause);
 }
コード例 #6
0
ファイル: NoSuchClass.php プロジェクト: stuartherbert/mf
 function __construct($className, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_NoSuchClass'), array($className), $oCause);
 }
コード例 #7
0
ファイル: ConstraintFailed.php プロジェクト: stuartherbert/mf
 function __construct($functionName, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_ConstraintFailed'), array($functionName), $oCause);
 }