ninja_Core Class Reference

Helper for basic ninja stuff. More...

Static Public Member Functions

static add_path ($rel_path, $module_name=false)
 Given a file name that is relative to the views directory, find it and return the full path.
static get_skins ()
 Return array of all installed skins.
static has_module ($name)
static add_version_to_uri ($uri)
 Add "?v=3.0.0" (or such) to the parameter, makes for solid cache busting.

Detailed Description

Helper for basic ninja stuff.

Basically, stuff that could be in the ninja controller, if not other helpers had needed it.


Member Function Documentation

static ninja_Core::add_path ( rel_path,
module_name = false 
) [static]

Given a file name that is relative to the views directory, find it and return the full path.

Returns:
string
static ninja_Core::add_version_to_uri ( uri  )  [static]

Add "?v=3.0.0" (or such) to the parameter, makes for solid cache busting.

Parameters:
$uri string
Returns:
string
static ninja_Core::has_module ( name  )  [static]
Parameters:
$name string
Returns:
boolean

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 6 May 2013 for ninja by  doxygen 1.6.1