core/behaviors/HtmlEncodeBehavior.php
public function afterFind($event)
    {
        foreach ($this->attributes as $attribute) {
            $this->owner->{$attribute} = $this->htmlEncode($this->owner->{$attribute});
        }
    }
public function afterFind($event)
    {
        foreach ($this->attributes as $attribute) {
            $this->owner->{$attribute} = $this->htmlEncode($this->owner->{$attribute});
        }
    }
public function afterFind ( $ event ) { foreach ( $ this -> attributes as $ attribute ) { $ this -> owner -> { $ attribute } = $ this -> htmlEncode ( $ this -> owner -> { $ attribute } ) ; } }
Event will be triggered after find.

@param \yii\base\Event $event The after find event.
Event will be triggered after find .