ninja Class Reference

Helper for basic ninja stuff. More...

Static Public Member Functions

static add_path ($rel_path, $module_name=false, $required=true)
 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::add_path ( rel_path,
module_name = false,
required = true 
) [static]

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

Returns:
string
static ninja::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::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 19 Dec 2018 for ninja by  doxygen 1.6.1