Moodle  2.2.1
http://www.collinsharper.com
plugintype_base Class Reference
Inheritance diagram for plugintype_base:

Public Member Functions

 init_display_name ()
 __get ($name)
 full_path ($relativepath)
 load_disk_version ()
 load_required_main_version ()
 get_other_required_plugins ()
 load_db_version ()
 init_is_standard ()
 is_standard ()
 get_status ()
 is_enabled ()
 get_settings_url ()
 get_uninstall_url ()
 get_dir ()

Static Public Member Functions

static get_plugins ($type, $typerootdir, $typeclass)

Data Fields

 $type
 $typerootdir
 $name
 $displayname
 $source
 $rootdir
 $versiondisk
 $versiondb
 $versionrequires
 $dependencies = null
 $instances
 $sortorder

Protected Member Functions

 load_version_php ()
 load_other_required_plugins ()
 get_version_from_config_plugins ($plugin, $disablecache=false)

Detailed Description

Definition at line 669 of file pluginlib.php.


Member Function Documentation

__get ( name)

Magic method getter, redirects to read only values.

Parameters:
string$name
Returns:
mixed

Definition at line 739 of file pluginlib.php.

Here is the call graph for this function:

full_path ( relativepath)
See also:
plugin_information::full_path()

Definition at line 752 of file pluginlib.php.

Here is the caller graph for this function:

get_dir ( )
See also:
plugin_information::get_dir()

Definition at line 910 of file pluginlib.php.

See also:
plugin_information::get_other_required_plugins()

Definition at line 809 of file pluginlib.php.

Here is the call graph for this function:

static get_plugins ( type,
typerootdir,
typeclass 
) [static]
See also:
plugin_information::get_plugins()

Reimplemented in plugintype_mod, plugintype_filter, and plugintype_block.

Definition at line 700 of file pluginlib.php.

Here is the call graph for this function:

See also:
plugin_information::get_status()

Definition at line 856 of file pluginlib.php.

Here is the call graph for this function:

get_version_from_config_plugins ( plugin,
disablecache = false 
) [protected]

Provides access to plugin versions from {config_plugins}

Parameters:
string$pluginplugin name
double$disablecacheoptional, defaults to false
Returns:
int|false the stored value or false if not found

Definition at line 923 of file pluginlib.php.

See also:
plugin_information::init_display_name()

Reimplemented in plugintype_mod, plugintype_filter, and plugintype_block.

Definition at line 726 of file pluginlib.php.

Here is the call graph for this function:

See also:
plugin_information::init_is_standard()

Definition at line 829 of file pluginlib.php.

Here is the call graph for this function:

See also:
plugin_information::is_standard()

Definition at line 849 of file pluginlib.php.

See also:
plugin_information::load_db_version()

Reimplemented in plugintype_mod, and plugintype_block.

Definition at line 819 of file pluginlib.php.

See also:
plugin_information::load_disk_version()

Definition at line 776 of file pluginlib.php.

Here is the call graph for this function:

load_other_required_plugins ( ) [protected]

Initialise $dependencies to the list of other plugins (in any) that this one requires to be installed.

Definition at line 797 of file pluginlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

See also:
plugin_information::load_required_main_version()

Definition at line 786 of file pluginlib.php.

Here is the call graph for this function:

load_version_php ( ) [protected]

Load the data from version.php.

Returns:
object the data object defined in version.php.

Reimplemented in plugintype_mod, and plugintype_filter.

Definition at line 763 of file pluginlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$dependencies = null

Definition at line 691 of file pluginlib.php.

$displayname

Definition at line 678 of file pluginlib.php.

$instances

Definition at line 693 of file pluginlib.php.

$name

Definition at line 676 of file pluginlib.php.

$rootdir

Definition at line 682 of file pluginlib.php.

$sortorder

Definition at line 695 of file pluginlib.php.

$source

Definition at line 680 of file pluginlib.php.

$type

Definition at line 672 of file pluginlib.php.

$typerootdir

Definition at line 674 of file pluginlib.php.

$versiondb

Definition at line 686 of file pluginlib.php.

$versiondisk

Definition at line 684 of file pluginlib.php.

$versionrequires

Definition at line 688 of file pluginlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations