src/ngrest/base/Plugin.php
public function onFind($event)
    {
        if ($this->isAttributeWriteable($event) && $this->onBeforeFind($event)) {
            if ($this->i18n) {
                $event->sender->setAttribute($this->name, $this->i18nDecodedGetActive($this->i18nFieldDecode($event->sender->getAttribute($this->name), $this->i18nEmptyValue)));
            }
            
            $this->onAfterFind($event);
        }
    }
public function onFind($event)
    {
        if ($this->isAttributeWriteable($event) && $this->onBeforeFind($event)) {
            if ($this->i18n) {
                $event->sender->setAttribute($this->name, $this->i18nDecodedGetActive($this->i18nFieldDecode($event->sender->getAttribute($this->name), $this->i18nEmptyValue)));
            }
            
            $this->onAfterFind($event);
        }
    }
public function onFind ( $ event ) { if ( $ this -> isAttributeWriteable ( $ event ) && $ this -> onBeforeFind ( $ event ) ) { if ( $ this -> i18n ) { $ event -> sender -> setAttribute ( $ this -> name , $ this -> i18nDecodedGetActive ( $ this -> i18nFieldDecode ( $ event -> sender -> getAttribute ( $ this -> name ) , $ this -> i18nEmptyValue ) ) ) ; } $ this -> onAfterFind ( $ event ) ; } }
ActiveRecord afterFind event. If the property of this plugin inside the model, the event will not be triggered.

@param \yii\base\Event $event An event that is triggered after the record is created and populated with query result.
ActiveRecord afterFind event . If the property of this plugin inside the model the event will not be triggered .