/** * Retrieve an array of all document titles of a document in a certain server * (publication) state associated with the corresponding document id. * * @param string $state Document state to select, defaults to "published", returning all states if set to NULL. * @param string $sort_reverse Optional indicator for list order: 1 = descending; else ascending order. Defaults to 0. * @return array array with all ids of the entries in the desired order. * * @deprecated */ public static function getAllDocumentsByTitlesByState($state, $sort_reverse = '0') { $finder = new Opus_DocumentFinder(); if (isset($state)) { $finder->setServerState($state); } $finder->orderByTitleMain($sort_reverse != 1); return $finder->ids(); }