filters\AccessControl init()

init() public method Initializes the $rules array by instantiating rule objects from configurations. public void init ( )

mongodb\debug\MongoDbPanel getQueryType()

getQueryType() protected method Returns database query type. protected string getQueryType ( $timing )$timing string Timing procedure string return string Query type such as select, insert, delete, etc.

rest\Controller afterAction()

afterAction() public method This method is invoked right after an action is executed. The method will trigger the EVENT_AFTER_ACTION event. The return value of the method will be used as the action return value. If you override this method, your code should look like the following: public function afterAction($action, $result) { $result = parent::afterAction($action, $result); // your custom code here return $result; } public mixed afterAction ( $action, $result )$action yii\

mongodb\file\Cursor setTypeMap()

setTypeMap() public method Sets a type map to use for BSON unserialization. public void setTypeMap ( $typemap )$typemap array Type map.

helpers\BaseStringHelper startsWith()

startsWith() public static method Check if given string starts with specified substring. Binary and multibyte safe. public static boolean startsWith ( $string, $with, $caseSensitive = true )$string string Input string $with string Part to search inside the $string $caseSensitive boolean Case sensitive search. Default is true. When case sensitive is enabled, $with must exactly match the starting of the string in order to get a true value. return boolean Returns true if first input s

caching\FileCache addValue()

addValue() protected method Stores a value identified by a key into cache if the cache does not contain this key. This is the implementation of the method declared in the parent class. protected boolean addValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value string The value to be cached. Other types (if you have disabled $serializer) unable to get is correct in getValue(). $duration integer The number of seconds in which the cached value wil

helpers\BaseHtml beginTag()

beginTag() public static method Generates a start tag. See also: endTag() tag() public static string beginTag ( $name, $options = [] )$name string|boolean|null The tag name. If $name is null or false, the corresponding content will be rendered without any tag. $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will no

caching\ArrayCache setValue()

setValue() protected method Stores a value identified by a key in cache. This method should be implemented by child classes to store the data in specific cache storage. protected boolean setValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer The number of seconds in which the cached value will expire. 0 mean

helpers\BaseHtml button()

button() public static method Generates a button tag. public static string button ( $content = 'Button', $options = [] )$content string The content enclosed within the button tag. It will NOT be HTML-encoded. Therefore you can pass in HTML code such as an image tag. If this is is coming from end users, you should consider encode() it to prevent XSS attacks. $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The va

mongodb\rbac\MongoDbManager detectLoop()

detectLoop() protected method Checks whether there is a loop in the authorization item hierarchy. protected boolean detectLoop ( $parent, $child )$parent yii\rbac\Item The parent item $child yii\rbac\Item The child item to be added to the hierarchy return boolean Whether a loop exists