예제 #1
0
파일: Lang.php 프로젝트: gitter-badger/luya
 public static function getQuery()
 {
     if (self::$_langInstanceQuery === null) {
         self::$_langInstanceQuery = self::find()->asArray()->indexBy('short_code')->all();
     }
     return self::$_langInstanceQuery;
 }
예제 #2
0
파일: Lang.php 프로젝트: efueger/luya
 public static function getQuery()
 {
     if (self::$_langInstanceQuery === null) {
         self::$_langInstanceQuery = Lang::find()->asArray()->all();
     }
     return self::$_langInstanceQuery;
 }