public function initUserRelationEvents()
    {
        $this->on(static::EVENT_INIT, [$this, 'onInitBlamesLimit']);
        $this->on(static::$eventNewRecordCreated, [$this, 'onInitGroups']);
        $this->on(static::$eventNewRecordCreated, [$this, 'onInitRemark']);
        $this->on(static::$eventMultipleBlamesChanged, [$this, 'onBlamesChanged']);
        $this->on(static::EVENT_AFTER_INSERT, [$this, 'onInsertRelation']);
        $this->on(static::EVENT_AFTER_UPDATE, [$this, 'onUpdateRelation']);
        $this->on(static::EVENT_AFTER_DELETE, [$this, 'onDeleteRelation']);
    }
public function initUserRelationEvents()
    {
        $this->on(static::EVENT_INIT, [$this, 'onInitBlamesLimit']);
        $this->on(static::$eventNewRecordCreated, [$this, 'onInitGroups']);
        $this->on(static::$eventNewRecordCreated, [$this, 'onInitRemark']);
        $this->on(static::$eventMultipleBlamesChanged, [$this, 'onBlamesChanged']);
        $this->on(static::EVENT_AFTER_INSERT, [$this, 'onInsertRelation']);
        $this->on(static::EVENT_AFTER_UPDATE, [$this, 'onUpdateRelation']);
        $this->on(static::EVENT_AFTER_DELETE, [$this, 'onDeleteRelation']);
    }
public function initUserRelationEvents ( ) { $ this -> on ( static :: EVENT_INIT , [ $ this , 'onInitBlamesLimit' ] ) ; $ this -> on ( static :: $ eventNewRecordCreated , [ $ this , 'onInitGroups' ] ) ; $ this -> on ( static :: $ eventNewRecordCreated , [ $ this , 'onInitRemark' ] ) ; $ this -> on ( static :: $ eventMultipleBlamesChanged , [ $ this , 'onBlamesChanged' ] ) ; $ this -> on ( static :: EVENT_AFTER_INSERT , [ $ this , 'onInsertRelation' ] ) ; $ this -> on ( static :: EVENT_AFTER_UPDATE , [ $ this , 'onUpdateRelation' ] ) ; $ this -> on ( static :: EVENT_AFTER_DELETE , [ $ this , 'onDeleteRelation' ] ) ; }
Attach events associated with user relation.
Attach events associated with user relation .