當前位置: 首頁>>代碼示例>>PHP>>正文


PHP _ET函數代碼示例

本文整理匯總了PHP中_ET函數的典型用法代碼示例。如果您正苦於以下問題:PHP _ET函數的具體用法?PHP _ET怎麽用?PHP _ET使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了_ET函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: FLEA_Rbac

 /**
  * 構造函數
  *
  * @return FLEA_Rbac
  */
 function FLEA_Rbac()
 {
     $this->_sessionKey = FLEA::getAppInf('RBACSessionKey');
     if ($this->_sessionKey == 'RBAC_USERDATA') {
         trigger_error(_ET(0x701005), E_USER_WARNING);
     }
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:12,代碼來源:Rbac.php

示例2: FLEA_Exception_ExpectedFile

 /**
  * 構造函數
  *
  * @param string $filename
  *
  * @return FLEA_Exception_ExpectedFile
  */
 function FLEA_Exception_ExpectedFile($filename)
 {
     $this->filename = $filename;
     $code = 0x102001;
     $msg = sprintf(_ET($code), $filename);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:14,代碼來源:ExpectedFile.php

示例3: FLEA_Exception_MustOverwrite

 /**
  * 構造函數
  *
  * @param string $prototypeMethod
  *
  * @return FLEA_Exception_MustOverwrite
  */
 function FLEA_Exception_MustOverwrite($prototypeMethod)
 {
     $this->prototypeMethod = $prototypeMethod;
     $code = 0x102008;
     $msg = sprintf(_ET($code), $prototypeMethod);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:14,代碼來源:MustOverwrite.php

示例4: FLEA_Db_Exception_InvalidDSN

 /**
  * 構造函數
  *
  * @param $dsn
  *
  * @return FLEA_Db_Exception_InvalidDSN
  */
 function FLEA_Db_Exception_InvalidDSN($dsn)
 {
     unset($this->dsn['password']);
     $this->dsn = $dsn;
     $code = 0x6ff001;
     parent::FLEA_Exception(_ET($code), $code);
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:14,代碼來源:InvalidDSN.php

示例5: FLEA_Db_Exception_PrimaryKeyExists

 /**
  * 構造函數
  *
  * @param string $pk
  * @param mixed $pkValue
  *
  * @return FLEA_Db_Exception_PrimaryKeyExists
  */
 function FLEA_Db_Exception_PrimaryKeyExists($pk, $pkValue = null)
 {
     $this->primaryKey = $pk;
     $this->pkValue = $pkValue;
     $code = 0x6ff004;
     $msg = sprintf(_ET($code), $pk, $pkValue);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:16,代碼來源:PrimaryKeyExists.php

示例6: FLEA_Exception_ValidationFailed

 /**
  * 構造函數
  *
  * @param array $result
  * @param mixed $data
  *
  * @return FLEA_Exception_ValidationFailed
  */
 function FLEA_Exception_ValidationFailed($result, $data = null)
 {
     $this->result = $result;
     $this->data = $data;
     $code = 0x407001;
     $msg = sprintf(_ET($code), implode(', ', array_keys((array) $result)));
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:16,代碼來源:ValidationFailed.php

示例7: FLEA_Exception_FileOperation

 /**
  * 構造函數
  *
  * @param string $opeation
  *
  * @return FLEA_Exception_FileOperation
  */
 function FLEA_Exception_FileOperation($opeation)
 {
     $this->operation = $opeation;
     $args = func_get_args();
     array_shift($args);
     $this->args = $args;
     $func = $opeation . '(' . implode(', ', $args) . ')';
     parent::FLEA_Exception(sprintf(_ET(0x102005), $func));
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:16,代碼來源:FileOperation.php

示例8: FLEA_Exception_TypeMismatch

 /**
  * 構造函數
  *
  * @param string $arg
  * @param string $expected
  * @param string $actual
  *
  * @return FLEA_Exception_TypeMismatch
  */
 function FLEA_Exception_TypeMismatch($arg, $expected, $actual)
 {
     $this->arg = $arg;
     $this->expected = $expected;
     $this->actual = $actual;
     $code = 0x10200c;
     $msg = sprintf(_ET($code), $arg, $expected, $actual);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:18,代碼來源:TypeMismatch.php

示例9: FLEA_Dispatcher_Exception_CheckFailed

 /**
  * 構造函數
  *
  * @param string $controllerName
  * @param string $actionName
  * @param array $act
  * @param array $roles
  *
  * @return FLEA_Dispatcher_Exception_CheckFailed
  */
 function FLEA_Dispatcher_Exception_CheckFailed($controllerName, $actionName, $act = null, $roles = null)
 {
     $this->controllerName = $controllerName;
     $this->actionName = $actionName;
     $this->act = $act;
     $this->roles = $roles;
     $code = 0x701004;
     $msg = sprintf(_ET($code), $controllerName, $actionName);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:20,代碼來源:CheckFailed.php

示例10: FLEA_Exception_MissingArguments

 /**
  * 構造函數
  *
  * @param mixed $args
  *
  * @return FLEA_Exception_MissingArguments
  */
 function FLEA_Exception_MissingArguments($args)
 {
     $this->args = $args;
     if (is_array($args)) {
         $args = implode(', ', $args);
     }
     $code = 0x102007;
     $msg = sprintf(_ET($code), $args);
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:17,代碼來源:MissingArguments.php

示例11: FLEA_Exception_MissingController

 /**
  * 構造函數
  *
  * @param string $controllerName
  * @param string $actionName
  * @param mixed $arguments
  * @param string $controllerClass
  * @param string $actionMethod
  *
  * @return FLEA_Exception_MissingController
  */
 function FLEA_Exception_MissingController($controllerName, $actionName, $arguments = null, $controllerClass = null, $actionMethod = null, $controllerClassFilename = null)
 {
     $this->controllerName = $controllerName;
     $this->actionName = $actionName;
     $this->arguments = $arguments;
     $this->controllerClass = $controllerClass;
     $this->actionMethod = $actionMethod;
     $this->controllerClassFilename = $controllerClassFilename;
     $code = 0x103002;
     parent::FLEA_Exception(sprintf(_ET($code), $controllerName));
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:22,代碼來源:MissingController.php

示例12: FLEA_Db_Exception_SqlQuery

 /**
  * 構造函數
  *
  * @param string $sql
  * @param string $msg
  * @param int $code
  *
  * @return FLEA_Db_Exception_SqlQuery
  */
 function FLEA_Db_Exception_SqlQuery($sql, $msg = 0, $code = 0)
 {
     $this->sql = $sql;
     if ($msg) {
         $code = 0x6ff005;
         $msg = sprintf(_ET($code), $msg, $sql, $code);
     } else {
         $code = 0x6ff006;
         $msg = sprintf(_ET($code), $sql, $code);
     }
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:21,代碼來源:SqlQuery.php

示例13: FLEA_Exception_NotImplemented

 /**
  * 構造函數
  *
  * @param string $method
  * @param string $class
  *
  * @return FLEA_Exception_NotImplemented
  */
 function FLEA_Exception_NotImplemented($method, $class = '')
 {
     $this->className = $class;
     $this->methodName = $method;
     if ($class) {
         $code = 0x10200a;
         parent::FLEA_Exception(sprintf(_ET($code), $class, $method));
     } else {
         $code = 0x10200b;
         parent::FLEA_Exception(sprintf(_ET($code), $method));
     }
 }
開發者ID:uwitec,項目名稱:01technology,代碼行數:20,代碼來源:NotImplemented.php

示例14: FLEA_Exception_ExpectedClass

 /**
  * 構造函數
  *
  * @param string $className
  * @param string $file
  * @param boolean $fileExists
  *
  * @return FLEA_Exception_ExpectedClass
  */
 function FLEA_Exception_ExpectedClass($className, $file = null, $fileExists = false)
 {
     $this->className = $className;
     $this->classFile = $file;
     $this->fileExists = $fileExists;
     if ($file) {
         $code = 0x102002;
         $msg = sprintf(_ET($code), $file, $className);
     } else {
         $code = 0x102003;
         $msg = sprintf(_ET($code), $className);
     }
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:23,代碼來源:ExpectedClass.php

示例15: FLEA_Rbac_Exception_InvalidACTFile

 /**
  * 構造函數
  *
  * @param string $actFilename
  * @param string $controllerName
  * @param mixed $act
  *
  * @return FLEA_Rbac_Exception_InvalidACTFile
  */
 function FLEA_Rbac_Exception_InvalidACTFile($actFilename, $act, $controllerName = null)
 {
     $this->actFilename = $actFilename;
     $this->act = $act;
     $this->controllerName = $controllerName;
     if ($controllerName) {
         $code = 0x701002;
         $msg = sprintf(_ET($code), $actFilename, $controllerName);
     } else {
         $code = 0x701003;
         $msg = sprintf(_ET($code), $actFilename);
     }
     parent::FLEA_Exception($msg, $code);
 }
開發者ID:BGCX261,項目名稱:zlskytakeorder-svn-to-git,代碼行數:23,代碼來源:InvalidACTFile.php


注:本文中的_ET函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。