base\Action $id

$id public property ID of the action public string $id = null

base\Action $controller

$controller public property The controller that owns this action public yii\base\Controller|yii\web\Controller $controller = null

BaseYii t()

t() public static method Translates a message to the specified language. This is a shortcut method of yii\i18n\I18N::translate(). The translation will be conducted according to the message category and the target language will be used. You can add parameters to a translation message that will be substituted with the corresponding value after translation. The format for this is to use curly brackets around the parameter name as you can see in the following example: $username = 'Alexander'; e

BaseYii setLogger()

setLogger() public static method Sets the logger object. public static void setLogger ( $logger )$logger yii\log\Logger The logger object.

BaseYii setAlias()

setAlias() public static method Registers a path alias. A path alias is a short name representing a long path (a file path, a URL, etc.) For example, we use '@yii' as the alias of the path to the Yii framework directory. A path alias must start with the character '@' so that it can be easily differentiated from non-alias paths. Note that this method does not check if the given path exists or not. All it does is to associate the alias with the path. Any trailing '/' and '\' characters in the

BaseYii trace()

trace() public static method Logs a trace message. Trace messages are logged mainly for development purpose to see the execution work flow of some code. public static void trace ( $message, $category = 'application' )$message string The message to be logged. $category string The category of the message.

BaseYii getVersion()

getVersion() public static method Returns a string representing the current version of the Yii framework. public static string getVersion ( )return string The version of Yii framework

BaseYii getRootAlias()

getRootAlias() public static method Returns the root alias part of a given alias. A root alias is an alias that has been registered via setAlias() previously. If a given alias matches multiple root aliases, the longest one will be returned. public static string|boolean getRootAlias ( $alias )$alias string The alias return string|boolean The root alias, or false if no root alias is found

BaseYii getObjectVars()

getObjectVars() public static method Returns the public member variables of an object. This method is provided such that we can get the public member variables of an object. It is different from "get_object_vars()" because the latter will return private and protected variables if it is called within the object itself. public static array getObjectVars ( $object )$object object The object to be handled return array The public member variables of the object

BaseYii info()

info() public static method Logs an informative message. An informative message is typically logged by an application to keep record of something important (e.g. an administrator logs in). public static void info ( $message, $category = 'application' )$message string The message to be logged. $category string The category of the message.