/** * @deprecated since 2.1 * Get instance of PHPCreator to use for storing and loading * look up table. * * @return eZPHPCreator return instance of eZPHPCreator * @todo Refactor with ezcPhpGenerator * http://ezcomponents.org/docs/api/trunk/classtrees_PhpGenerator.html */ protected function getPHPCreatorInstance() { if (empty(self::$PHPCreator)) { self::$PHPCreator = new eZPHPCreator(eZDIR::path(array(eZSys::storageDirectory(), ezfSolrDocumentFieldName::LOOKUP_FILEDIR)), ezfSolrDocumentFieldName::LOOKUP_FILENAME); } return self::$PHPCreator; }