Example #1
0
 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);
 }
Example #2
0
 public static function setPhrases($phrases)
 {
     self::$phrases = $phrases;
 }