debug\Module defaultVersion()

defaultVersion() protected method (available since version 2.0.7) Returns default module version. Child class may override this method to provide more specific version detection. protected string defaultVersion ( )return string The version of this module.

rbac\ManagerInterface getPermission()

getPermission() public abstract method Returns the named permission. public abstract null|yii\rbac\Permission getPermission ( $name )$name string The permission name. return null|yii\rbac\Permission The permission corresponding to the specified name. Null is returned if no such permission.

db\Migration dropColumn()

dropColumn() public method Builds and executes a SQL statement for dropping a DB column. public void dropColumn ( $table, $column )$table string The table whose column is to be dropped. The name will be properly quoted by the method. $column string The name of the column to be dropped. The name will be properly quoted by the method.

i18n\GettextMoFile load()

load() public method Loads messages from an MO file. public array load ( $filePath, $context )$filePath string File path $context string Message context return array Message translations. Array keys are source messages and array values are translated messages: source message => translated message. throws yii\base\Exception if unable to read the MO file

validators\StringValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

debug\panels\ProfilingPanel $summary

$summary public read-only property Content that is displayed at debug toolbar public string getSummary ( )

bootstrap\BaseHtml activeStaticControl()

activeStaticControl() public static method Generates a Bootstrap static form control for the given model attribute. See also staticControl(). public static string activeStaticControl ( $model, $attribute, $options = [] )$model yii\base\Model The model object. $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options array The tag options in terms of name-value pairs. See staticControl() for details. return string

mongodb\Command getReadConcern()

getReadConcern() public method Retuns read concern for this command. public \MongoDB\Driver\ReadConcern|string getReadConcern ( )return \MongoDB\Driver\ReadConcern|string Read concern to be used in this command.

swiftmailer\Message getPriority()

getPriority() public method (available since version 2.0.6) Returns the priority of this message. public integer getPriority ( )return integer Priority value as integer in range: 1..5, where 1 is the highest priority and 5 is the lowest.

web\XmlResponseFormatter buildXml()

buildXml() protected method protected void buildXml ( $element, $data )$element DOMElement $data mixed