public function process(array $values)
    {
        $results = [];

        foreach ($values as $value) {
            list($rootPageUid, $mountPoint) = GeneralUtility::trimExplode(',',
                $value, true, 2);
            $results[] = $this->getSolrRootlineForPageId($rootPageUid,
                $mountPoint);
        }

        return $results;
    }
public function process(array $values)
    {
        $results = [];

        foreach ($values as $value) {
            list($rootPageUid, $mountPoint) = GeneralUtility::trimExplode(',',
                $value, true, 2);
            $results[] = $this->getSolrRootlineForPageId($rootPageUid,
                $mountPoint);
        }

        return $results;
    }
public function process ( array $ values ) { $ results = [ ] ; foreach ( $ values as $ value ) { list ( $ rootPageUid , $ mountPoint ) = GeneralUtility :: trimExplode ( ',' , $ value , true , 2 ) ; $ results [ ] = $ this -> getSolrRootlineForPageId ( $ rootPageUid , $ mountPoint ) ; } return $ results ; }
Expects a page ID of a page. Returns a Solr hierarchy notation for the
rootline of the page ID.

@param array $values Array of values, an array because of multivalued fields
@return array Modified array of values
Expects a page ID of a page . Returns a Solr hierarchy notation for the rootline of the page ID .