Todo List
Object | --Module
Contains several APIs.
Hooks API:
Classes API:
Views API:
Search API:
[line 46]
[line 44]
[line 45]
Module __construct( [string $id = NULL], [string $type = NULL])
Overridden in child classes as:
void add_class( $class)
void apply_atomic( [string $suffix = ''], mixed $value)
void apply_atomic_specific( [string $suffix = ''], mixed $value)
void do_atomic( [string $suffix = ''])
void do_atomic_specific( [string $suffix = ''])
string do_view( )
void format_hook( [string $suffix = ""], [string $view = ""])
Module get_module( string $id)
mixed get_modules( string $slug, callback $condition, [string $return = 'array'])
void get_modules_by_type( string $type, [boolean $selection = false])
void has_class( $class)
void has_view( $view)
void load_default_views( )
void load_views_folder( string $folder)
File for global view is named index.php
void remove_class( $class)
void remove_view( string $view)
void run( )
void set_view( string $view, string $callback, [boolean $file = false])
If the callback is false, the module will not be rendered for the given view.