Nos

class Nos\Nos

Provides static methods useful in Novius OS.

Entry points

property Nos\Nos::$entry_point

The Novius OS entry point. Equal to one of the following constants.

constant Nos\Nos::ENTRY_POINT_ADMIN
constant Nos\Nos::ENTRY_POINT_FRONT
constant Nos\Nos::ENTRY_POINT_404
constant Nos\Nos::ENTRY_POINT_INSTALL
constant Nos\Nos::ENTRY_POINT_OIL

New in version 0.2.0.1.

::main_controller()

static Nos\Nos::main_controller
Returns:Instance of the main controller.

::hmvc()

static Nos\Nos::hmvc($where, $args = null)
Parameters:
  • $where (mixed) – Route for the request.
  • $args (array) – The method parameters.

Executes an HMVC request.

::parse_wysiwyg()

static Nos\Nos::parse_wysiwyg($content)
Parameters:
Returns:

Prepare wysiwyg content for display.

Replace enhancers by their content.
Replace Model_Page and Model_Media IDs by theirs URLs
Wysiwyg anchors are processed in case the href attribute begin with # : * If it begins with only one # then the href will be prefixed by the page url. * If if begins with two ## then it is transformed to only one #.
Read the Docs v: chiba.1
Versions
latest
chiba.2
chiba.1
0.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.