PHP Class MX_Loader, TastyIgniter

Adapted from the CodeIgniter Core Classes
Inheritance: extends CI_Loader
Afficher le fichier Open project: tastyigniter/tastyigniter Class Usage Examples

Méthodes publiques

Свойство Type Description
$_ci_cached_vars
$_ci_plugins

Protected Properties

Свойство Type Description
$_module

Méthodes publiques

Méthode 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 *

Méthodes protégées

Méthode Description
_ci_get_component ( $component )

Method Details

__get() public méthode

public __get ( $class )

_add_module_paths() public méthode

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

_autoloader() public méthode

Autoload module items *
public _autoloader ( $autoload )

_ci_get_component() protected méthode

protected _ci_get_component ( $component )

_ci_load() public méthode

public _ci_load ( $_ci_data )

config() public méthode

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

database() public méthode

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

helper() public méthode

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

helpers() public méthode

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

initialize() public méthode

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

language() public méthode

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

languages() public méthode

public languages ( $languages )

libraries() public méthode

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

library() public méthode

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

model() public méthode

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

models() public méthode

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

module() public méthode

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

modules() public méthode

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

plugin() public méthode

Load a module plugin *
public plugin ( $plugin )

plugins() public méthode

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

view() public méthode

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