$model = \skeeks\cms\models\CmsTree::findOne(10); $model->getChildren()->all(); $model->children; $model->getDescendants()->all(); $model->descendants; $model->getDescendants()->select(['id'])->asArray()->all();