system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.cubrid system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.gii system.i18n system.i18n.gettext system.logging system.test system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.form system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers zii.behaviors zii.widgets zii.widgets.grid zii.widgets.jui

Yii

system
继承 class Yii » YiiBase
可用自 1.0
源码 framework/yii.php
Yii is a helper class serving common framework functionalities.

It encapsulates YiiBase which provides the actual implementation. By writing your own Yii class, you can customize some functionalities of YiiBase.

公共属性

隐藏继承的属性

属性类型描述被定义在
autoloaderFilters array filters for autoloading mechanism. YiiBase
classMap array class map used by the Yii autoloading mechanism. YiiBase
enableIncludePath boolean whether to rely on PHP include path to autoload class files. YiiBase

公共方法

隐藏继承的方法

方法描述被定义在
app() Returns the application singleton or null if the singleton has not been created yet. YiiBase
autoload() Class autoload loader. YiiBase
beginProfile() Marks the beginning of a code block for profiling. YiiBase
createApplication() Creates an application of the specified class. YiiBase
createComponent() Creates an object and initializes it based on the given configuration. YiiBase
createConsoleApplication() Creates a console application instance. YiiBase
createWebApplication() Creates a Web application instance. YiiBase
endProfile() Marks the end of a code block for profiling. YiiBase
getFrameworkPath() Returns the path of the framework YiiBase
getLogger() Returns message logger YiiBase
getPathOfAlias() Translates an alias into a file path. YiiBase
getVersion() Returns the version of Yii framework YiiBase
import() Imports a class or a directory. YiiBase
log() Logs a message. YiiBase
powered() Returns a string that can be displayed on your Web page showing Powered-by-Yii information YiiBase
registerAutoloader() Registers a new class autoloader. YiiBase
setApplication() Stores the application instance in the class static member. YiiBase
setLogger() Sets the logger object. YiiBase
setPathOfAlias() Create a path alias. YiiBase
t() Translates a message to the specified language. YiiBase
trace() Writes a trace message. YiiBase