コード例 #1
0
ファイル: MagicWord.php プロジェクト: Acidburn0zzz/mediawiki
 /**
  * Get a MagicWordArray of double-underscore entities
  *
  * @return MagicWordArray
  */
 static function getDoubleUnderscoreArray()
 {
     if (is_null(self::$mDoubleUnderscoreArray)) {
         Hooks::run('GetDoubleUnderscoreIDs', array(&self::$mDoubleUnderscoreIDs));
         self::$mDoubleUnderscoreArray = new MagicWordArray(self::$mDoubleUnderscoreIDs);
     }
     return self::$mDoubleUnderscoreArray;
 }
コード例 #2
0
ファイル: MagicWord.php プロジェクト: GodelDesign/Godel
 /** Get a MagicWordArray of double-underscore entities */
 static function getDoubleUnderscoreArray()
 {
     if (is_null(self::$mDoubleUnderscoreArray)) {
         self::$mDoubleUnderscoreArray = new MagicWordArray(self::$mDoubleUnderscoreIDs);
     }
     return self::$mDoubleUnderscoreArray;
 }