/** * Here models & collections loaded, data processed. * Or in _prepareLayout() * * @param array $args */ public function __construct(array $args = array()) { $this->rn = mt_rand(1, 1000); $this->instanceNo = ++static::$instanceCount; $this->token = 0; parent::__construct($args); }
/** * Here models & collections loaded, data processed. * Or in _prepareLayout() * * @param array $args */ public function __construct(array $args = array()) { $this->rn = mt_rand(1, 1000); $this->instanceNo = ++static::$instanceCount; $this->token = 0; parent::__construct($args); // TODO: Change the autogenerated stub }