base\Object __call()

__call() public method Calls the named method which is not a class method. Do not call this method directly as it is a PHP magic method that will be implicitly called when an unknown method is being invoked. public mixed __call ( $name, $params )$name string The method name $params array Method parameters return mixed The method return value throws yii\base\UnknownMethodException when calling unknown method

base\Object 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 ( )

base\Object hasProperty()

hasProperty() public method Returns a value indicating whether a property is defined. A property is defined if: the class has a getter or setter method associated with the specified name (in this case, property name is case-insensitive); the class has a member variable with the specified name (when $checkVars is true); See also: canGetProperty() canSetProperty() public boolean hasProperty ( $name, $checkVars = true )$name string The property name $checkVars boolean Whether to treat mem

base\Object hasMethod()

hasMethod() public method Returns a value indicating whether a method is defined. The default implementation is a call to php function method_exists(). You may override this method when you implemented the php magic method __call(). public boolean hasMethod ( $name )$name string The method name return boolean Whether the method is defined

base\Object className()

className() public static method Returns the fully qualified name of this class. public static string className ( )return string The fully qualified name of this class.

base\Object canSetProperty()

canSetProperty() public method Returns a value indicating whether a property can be set. A property is writable if: the class has a setter method associated with the specified name (in this case, property name is case-insensitive); the class has a member variable with the specified name (when $checkVars is true); See also canGetProperty(). public boolean canSetProperty ( $name, $checkVars = true )$name string The property name $checkVars boolean Whether to treat member variables as pro

base\Object canGetProperty()

canGetProperty() public method Returns a value indicating whether a property can be read. A property is readable if: the class has a getter method associated with the specified name (in this case, property name is case-insensitive); the class has a member variable with the specified name (when $checkVars is true); See also canSetProperty(). public boolean canGetProperty ( $name, $checkVars = true )$name string The property name $checkVars boolean Whether to treat member variables as pr

base\NotSupportedException getName()

getName() public method public string getName ( )return string The user-friendly name of this exception

base\Module __construct()

__construct() public method Constructor. public void __construct ( $id, $parent = null, $config = [] )$id string The ID of this module. $parent yii\base\Module The parent module (if any). $config array Name-value pairs that will be used to initialize the object properties.

base\Module setViewPath()

setViewPath() public method Sets the directory that contains the view files. public void setViewPath ( $path )$path string The root directory of view files. throws yii\base\InvalidParamException if the directory is invalid.