예제 #1
0
 public static function getModules()
 {
     if (!isset(self::$_modules)) {
         self::$_modules = X2Model::model('Modules')->findAllByAttributes(array('visible' => 1, 'editable' => true));
     }
     return self::$_modules;
 }