validators\FileValidator clientValidateAttribute()

clientValidateAttribute() public method Returns the JavaScript needed for performing client-side validation. You may override this method to return the JavaScript validation code if the validator can support client-side validation. The following JavaScript variables are predefined and can be used in the validation code: attribute: an object describing the the attribute being validated. value: the value being validated. messages: an array used to hold the validation error messages for the

swiftmailer\Message embed()

embed() public method Attach a file and return it's CID source. This method should be used when embedding images or other data in a message. public string embed ( $fileName, array $options = [] )$fileName string File name. $options array Options for embed file. Valid options are: fileName: name, which should be used to attach file. contentType: attached file MIME type. return string Attachment CID.

console\controllers\FixtureController actionLoad()

actionLoad() public method Loads the specified fixture data. For example, # load the fixture data specified by User and UserProfile. # any existing fixture data will be removed first yii fixture/load "User, UserProfile" # load all available fixtures found under 'tests\unit\fixtures' yii fixture/load "*" # load all fixtures except User and UserProfile yii fixture/load "*, -User, -UserProfile" public integer actionLoad ( array $fixturesInput = [] )$fixturesInput array return integer Re

db\MigrationInterface up()

up() public abstract method This method contains the logic to be executed when applying this migration. public abstract boolean up ( )return boolean Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.

log\Logger getElapsedTime()

getElapsedTime() public method Returns the total elapsed time since the start of the current request. This method calculates the difference between now and the timestamp defined by constant YII_BEGIN_TIME which is evaluated at the beginning of yii\BaseYii class file. public float getElapsedTime ( )return float The total elapsed time in seconds for current request.

debug\panels\MailPanel getDetail()

getDetail() public method public string getDetail ( )return string Content that is displayed in debugger detail view

db\sqlite\QueryBuilder alterColumn()

alterColumn() public method Builds a SQL statement for changing the definition of a column. public string alterColumn ( $table, $column, $type )$table string The table whose column is to be changed. The table name will be properly quoted by the method. $column string The name of the column to be changed. The name will be properly quoted by the method. $type string The new column type. The getColumnType() method will be invoked to convert abstract column type (if any) into the physica

log\Logger calculateTimings()

calculateTimings() public method Calculates the elapsed time for the given log messages. public array calculateTimings ( $messages )$messages array The log messages obtained from profiling return array Timings. Each element is an array consisting of these elements: info, category, timestamp, trace, level, duration.

widgets\Menu $activateItems

$activateItems public property Whether to automatically activate items according to whether their route setting matches the currently requested route. See also isItemActive(). public boolean $activateItems = true

debug\panels\LogPanel $name

$name public read-only property Name of the panel public string getName ( )