Language class

Public method - only for inherited class :

  • static init() - Initialization of language class. This method must exist in inherited class and it must have body like this:
    public static function init() {
    	parent::getInstance(__CLASS__);
    }

Public methods:

  • static controllerError(parameter1) - return error string from error code for controller errors. As a parameter is error code.
  • static eventError(parameter1) - return error string from error code for events errors. As a parameter is error code.
  • static otherError(parameter1) - return error string from error code for other errors. As a parameter is error code.