skeeks\cms\models\behaviors\SeoPageName::init PHP Method

init() public method

public init ( )
    public function init()
    {
        parent::init();
        if (empty($this->attributes)) {
            $this->attributes = [BaseActiveRecord::EVENT_BEFORE_INSERT => [$this->generatedAttribute], BaseActiveRecord::EVENT_BEFORE_UPDATE => [$this->generatedAttribute]];
        }
    }
SeoPageName