base\Module getInstance()

getInstance() public static method

Returns the currently requested instance of this module class.

If the module class is not currently requested, null will be returned. This method is provided so that you access the module instance from anywhere within the module.

public static static|null getInstance ( )
return static|null

The currently requested instance of this module class, or null if the module class is not requested.

doc_Yii
2016-10-30 16:52:04
Comments
Leave a Comment

Please login to continue.