コード例 #1
0
ファイル: ConfigUtil.php プロジェクト: xautmn/me
 public static function get_node($node = NULL)
 {
     if (!$node or !is_string($node)) {
         throw new Exception("{$node} format error.");
     }
     $ret = ConfigUtil::get_instance()->load($node);
     return isset($ret[$node]) ? $ret[$node] : FALSE;
 }