PHP Class MX_Loader, TastyIgniter

Adapted from the CodeIgniter Core Classes
Inheritance: extends CI_Loader
ファイルを表示 Open project: tastyigniter/tastyigniter Class Usage Examples

Public Properties

Property Type Description
$_ci_cached_vars
$_ci_plugins

Protected Properties

Property Type Description
$_module

Public Methods

Method Description
__get ( $class )
_add_module_paths ( $module = '' ) Add a module path loader variables *
_autoloader ( $autoload ) Autoload module items *
_ci_load ( $_ci_data )
config ( $file, $use_sections = FALSE, $fail_gracefully = FALSE ) Load a module config file *
database ( $params = '', $return = FALSE, $query_builder = NULL ) Load the database drivers *
helper ( $helper = [] ) Load a module helper *
helpers ( $helpers = [] ) Load an array of helpers *
initialize ( $controller = NULL ) Initialize the loader variables *
language ( $langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '' ) Load a module language file *
languages ( $languages )
libraries ( $libraries ) Load an array of libraries *
library ( $library, $params = NULL, $object_name = NULL ) Load a module library *
model ( $model, $object_name = NULL, $connect = FALSE ) Load a module model *
models ( $models ) Load an array of models *
module ( $module, $params = NULL ) Load a module controller *
modules ( $modules ) Load an array of controllers *
plugin ( $plugin ) Load a module plugin *
plugins ( $plugins ) Load an array of plugins *
view ( $view, $vars = [], $return = FALSE ) Load a module view *

Protected Methods

Method Description
_ci_get_component ( $component )

Method Details

__get() public method

public __get ( $class )

_add_module_paths() public method

Add a module path loader variables *
public _add_module_paths ( $module = '' )

_autoloader() public method

Autoload module items *
public _autoloader ( $autoload )

_ci_get_component() protected method

protected _ci_get_component ( $component )

_ci_load() public method

public _ci_load ( $_ci_data )

config() public method

Load a module config file *
public config ( $file, $use_sections = FALSE, $fail_gracefully = FALSE )

database() public method

Load the database drivers *
public database ( $params = '', $return = FALSE, $query_builder = NULL )

helper() public method

Load a module helper *
public helper ( $helper = [] )

helpers() public method

Load an array of helpers *
public helpers ( $helpers = [] )

initialize() public method

Initialize the loader variables *
public initialize ( $controller = NULL )

language() public method

Load a module language file *
public language ( $langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '' )

languages() public method

public languages ( $languages )

libraries() public method

Load an array of libraries *
public libraries ( $libraries )

library() public method

Load a module library *
public library ( $library, $params = NULL, $object_name = NULL )

model() public method

Load a module model *
public model ( $model, $object_name = NULL, $connect = FALSE )

models() public method

Load an array of models *
public models ( $models )

module() public method

Load a module controller *
public module ( $module, $params = NULL )

modules() public method

Load an array of controllers *
public modules ( $modules )

plugin() public method

Load a module plugin *
public plugin ( $plugin )

plugins() public method

Load an array of plugins *
public plugins ( $plugins )

view() public method

Load a module view *
public view ( $view, $vars = [], $return = FALSE )

Property Details

$_ci_cached_vars public_oe property

public $_ci_cached_vars

$_ci_plugins public_oe property

public $_ci_plugins

$_module protected_oe property

protected $_module