skeeks\cms\models\behaviors\HasTrees::getElementTrees PHP Method

getElementTrees() public method

public getElementTrees ( ) : ActiveQuery
return yii\db\ActiveQuery
    public function getElementTrees()
    {
        $className = $this->elementTreesClassName;
        return $this->owner->hasMany($className::className(), [$this->attributeElementName => 'id']);
    }