admin/controllers/apix/NewsletterController.php
public function init() {

		parent::init();

		// Permission
		$this->crudPermission = NewsletterGlobal::PERM_NEWSLETTER_ADMIN;

		// Services
		$this->modelService = Yii::$app->factory->get( 'newsletterService' );
	}
public function init() {

		parent::init();

		// Permission
		$this->crudPermission = NewsletterGlobal::PERM_NEWSLETTER_ADMIN;

		// Services
		$this->modelService = Yii::$app->factory->get( 'newsletterService' );
	}
Constructor and Initialisation ------------------------------