Sulu\Component\Rest\ListBuilder\Doctrine\DoctrineListBuilder::getAllFields PHP 메소드

getAllFields() 보호된 메소드

Returns all FieldDescriptors that were passed to list builder.
protected getAllFields ( boolean $onlyReturnFilterFields = false ) : Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface[]
$onlyReturnFilterFields boolean Define if only filtering FieldDescriptors should be returned
리턴 Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptorInterface[]
    protected function getAllFields($onlyReturnFilterFields = false)
    {
        $fields = array_merge($this->searchFields, $this->sortFields, $this->getUniqueExpressionFieldDescriptors($this->expressions));
        if ($onlyReturnFilterFields !== true) {
            $fields = array_merge($fields, $this->selectFields);
        }
        return $fields;
    }