function perform() { $phraseSearchCriteriaFactory = $this->i18n->getPhraseSearchCriteriaFactory(); $phraseSearchCriteria = $phraseSearchCriteriaFactory->create($this->criteria); $phrases =& $this->i18n->searchPhrases($phraseSearchCriteria); SJB_Admin_I18n_ManagePhrases::setPhrases($phrases); $this->template_processor->assign('phrases', $phrases); $this->template_processor->assign('criteria', $this->criteria); }
public static function setPhrases($phrases) { self::$phrases = $phrases; }