コード例 #1
0
ファイル: RPG.php プロジェクト: laiello/crindigan
 /**
  * Fetches the instance of RPG_User, instantiating it if necessary.
  *
  * @return RPG_User
  */
 public static function user($model = null)
 {
     if (self::$_user === null) {
         self::$_user = new RPG_User();
     }
     return self::$_user;
 }