common/services/base/ActiveRecordService.php
public function notifyAdmin( $model, $config = [] ) {

		$config[ 'admin' ]	= true;
		$config[ 'direct' ]	= false;

		$this->sendNotification( $model, $config );
	}
public function notifyAdmin( $model, $config = [] ) {

		$config[ 'admin' ]	= true;
		$config[ 'direct' ]	= false;

		$this->sendNotification( $model, $config );
	}
public function notifyAdmin ( $ model , $ config = [ ] ) { $ config [ 'admin' ] = true ; $ config [ 'direct' ] = false ; $ this -> sendNotification ( $ model , $ config ) ; }
Trigger Admin Notifications. The template settings will override.

@param \cmsgears\core\common\models\base\ActiveRecord $model

@param array $config - key elements are template(template slug), data(template data),
title(notification title), createdBy(creator id), parentId(parent model id), parentType,
link, admin(flag), adminLink and users(to notify)
Trigger Admin Notifications . The template settings will override .