helpers\BaseFileHelper copyDirectory()

copyDirectory() public static method Copies a whole directory as another one. The files and sub-directories will also be copied over. public static void copyDirectory ( $src, $dst, $options = [] )$src string The source directory $dst string The destination directory $options array Options for directory copy. Valid options are: dirMode: integer, the permission to be set for newly copied directories. Defaults to 0775. fileMode: integer, the permission to be set for newly copied files.

web\AssetConverter runCommand()

runCommand() protected method Runs a command to convert asset files. protected boolean runCommand ( $command, $basePath, $asset, $result )$command string The command to run. If prefixed with an @ it will be treated as a path alias. $basePath string Asset base path and command working directory $asset string The name of the asset file $result string The name of the file to be generated by the converter command return boolean True on success, false on failure. Failures will be logg

captcha\CaptchaAction $height

$height public property The height of the generated CAPTCHA image. Defaults to 50. public integer $height = 50

console\controllers\FixtureController $defaultAction

$defaultAction public property Controller default action ID. public string $defaultAction = 'load'

web\UrlManager addRules()

addRules() public method Adds additional URL rules. This method will call buildRules() to parse the given rule declarations and then append or insert them to the existing $rules. Note that if $enablePrettyUrl is false, this method will do nothing. public void addRules ( $rules, $append = true )$rules array The new rules to be added. Each array element represents a single rule declaration. Please refer to $rules for the acceptable rule format. $append boolean Whether to add the new rule

validators\Validator addError()

addError() public method Adds an error about the specified attribute to the model object. This is a helper method that performs message selection and internationalization. public void addError ( $model, $attribute, $message, $params = [] )$model yii\base\Model The data model being validated $attribute string The attribute being validated $message string The error message $params array Values for the placeholders in the error message

grid\ActionColumn createUrl()

createUrl() public method Creates a URL for the given action and model. This method is called for each button and each row. public string createUrl ( $action, $model, $key, $index )$action string The button name (or action ID) $model yii\db\ActiveRecord The data model $key mixed The key associated with the data model $index integer The current row index return string The created URL

web\UrlManager $baseUrl

$baseUrl public property The base URL that is used by createUrl() to prepend to created URLs. public string getBaseUrl ( )public void setBaseUrl ( $value )

rbac\PhpManager hasChild()

hasChild() public method Returns a value indicating whether the child already exists for the parent. public boolean hasChild ( $parent, $child )$parent yii\rbac\Item $child yii\rbac\Item return boolean Whether $child is already a child of $parent

debug\panels\ConfigPanel $name

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