Jarves\Admin\ObjectCrud::getBranchItemsSelection PHP Метод

getBranchItemsSelection() защищенный Метод

Returns the field list for branchItems selection.
protected getBranchItemsSelection ( string | array $fields = null ) : array
$fields string | array
Результат array
    protected function getBranchItemsSelection($fields = null)
    {
        $fields = Tools::listToArray($fields);
        if (!$fields) {
            $fields = array_merge($fields, Tools::listToArray($this->getObjectDefinition()->getDefaultSelection()));
        }
        $fields = array_merge($fields, Tools::listToArray($this->getObjectDefinition()->getTreeLabel()));
        $fields = array_merge($fields, Tools::listToArray($this->getObjectDefinition()->getTreeFields()));
        $fields = array_merge($fields, Tools::listToArray($this->getObjectDefinition()->getTreeIcon()));
        $fields = $this->applyDefaultSelection($fields);
        return $fields;
    }
ObjectCrud