当前位置: 首页>>代码示例>>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;未经允许,请勿转载。