public static function loadModel($f_name, $options = array())
    {
        $defaults = array(
            'mode'=>'default'
        );

        $options = array_merge($defaults, $options);

        return json_decode(file_get_contents($f_name), true);
    }
public static function loadModel($f_name, $options = array())
    {
        $defaults = array(
            'mode'=>'default'
        );

        $options = array_merge($defaults, $options);

        return json_decode(file_get_contents($f_name), true);
    }
public static function loadModel ( $ f_name , $ options = array ( ) ) { $ defaults = array ( 'mode' => 'default' ) ; $ options = array_merge ( $ defaults , $ options ) ; return json_decode ( file_get_contents ( $ f_name ) , true ) ; }
Static method loadModel

@param string $f_name # input f_name
@param array $options # other options

@return void
Static method loadModel