public function getTreeIds()
{
if ($this->owner->_tree_ids === null) {
$this->owner->_tree_ids = [];
if ($this->owner->elementTrees) {
$this->_tree_ids = (array) ArrayHelper::map($this->owner->elementTrees, $this->attributeTreeName, $this->attributeTreeName);
}
return $this->_tree_ids;
}
return (array) $this->_tree_ids;
}