base\Component hasMethod()

hasMethod() public method Returns a value indicating whether a method is defined. A method is defined if: the class has a method with the specified name an attached behavior has a method with the given name (when $checkBehaviors is true). public boolean hasMethod ( $name, $checkBehaviors = true )$name string The property name $checkBehaviors boolean Whether to treat behaviors' methods as methods of this component return boolean Whether the property is defined

validators\DateValidator $max

$max public property (available since version 2.0.4) Upper limit of the date. Defaults to null, meaning no upper limit. This can be a unix timestamp or a string representing a date time value. If this property is a string, $format will be used to parse it. See also $tooBig for the customized message used when the date is too big. public integer|string $max = null

db\Connection createCommand()

createCommand() public method Creates a command for execution. public yii\db\Command createCommand ( $sql = null, $params = [] )$sql string The SQL statement to be executed $params array The parameters to be bound to the SQL statement return yii\db\Command The DB command

log\Logger getLevelName()

getLevelName() public static method Returns the text display of the specified level. public static string getLevelName ( $level )$level integer The message level, e.g. LEVEL_ERROR, LEVEL_WARNING. return string The text display of the level

mutex\MysqlMutex releaseLock()

releaseLock() protected method Releases lock by given name. See also http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_release-lock. protected boolean releaseLock ( $name )$name string Of the lock to be released. return boolean Release result.

helpers\BaseHtml a()

a() public static method Generates a hyperlink tag. See also yii\helpers\Url::to(). public static string a ( $text, $url = null, $options = [] )$text string Link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is coming from end users, you should consider encode() it to prevent XSS attacks. $url array|string|null The URL for the hyperlink tag. This parameter will be processed by yii\helpers\Url::to() and will be used for the "href"

base\ArrayAccessTrait count()

count() public method Returns the number of data items. This method is required by Countable interface. public integer count ( )return integer Number of data elements.

gii\components\ActiveField init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

web\User getId()

getId() public method Returns a value that uniquely represents the user. See also getIdentity(). public string|integer getId ( )return string|integer The unique identifier for the user. If null, it means the user is a guest.

gii\Generator $messageCategory

$messageCategory public property The message category used by Yii::t() when $enableI18N is true. Defaults to app. public string $messageCategory = 'app'