noalyss Version-9
|
connect to NOALYSS_PACKAGE and fetch the file web.xml , it displays content of this file , build the appropriate object for installing More...
Public Member Functions | |
__construct () | |
can_download () | |
check that NOALYSS_HOME exists and is writable More... | |
display_noalyss_info () | |
Get info for Noalyss code : version #, announce, path to the last version. More... | |
find_plugin ($p_code) | |
return a SimpleXMLElement of the plugin thanks its code, it returns NULL if no plugin is found More... | |
find_template ($p_code) | |
return a SimpleXMLElement of the db template thanks its code, it returns NULL if no template is found More... | |
getContent () | |
make_object ($p_type, $p_id) | |
read_package_xml ($p_file) | |
Read xml file from the package. More... | |
setContent ($content) | |
set content More... | |
Static Public Member Functions | |
static | getTimeCacheSecond () |
static | setTimeCacheSecond (int $time_cache_second) |
Static Public Attributes | |
static | $time_cache_second = 3600 |
Protected Attributes | |
$content | |
connect to NOALYSS_PACKAGE and fetch the file web.xml , it displays content of this file , build the appropriate object for installing
Definition at line 31 of file package_repository.class.php.
Package_Repository::__construct | ( | ) |
Definition at line 40 of file package_repository.class.php.
References $content, $delta, $file, content, elseif, and setContent().
Package_Repository::can_download | ( | ) |
check that NOALYSS_HOME exists and is writable
Definition at line 113 of file package_repository.class.php.
Package_Repository::display_noalyss_info | ( | ) |
Get info for Noalyss code : version #, announce, path to the last version.
Definition at line 127 of file package_repository.class.php.
Package_Repository::find_plugin | ( | $p_code | ) |
return a SimpleXMLElement of the plugin thanks its code, it returns NULL if no plugin is found
string | $p_code | code of the plugin |
Definition at line 153 of file package_repository.class.php.
References $a_plugin, $i, $nb_plugin, and content.
Referenced by make_object().
Package_Repository::find_template | ( | $p_code | ) |
return a SimpleXMLElement of the db template thanks its code, it returns NULL if no template is found
string | $p_code | code of the template |
Definition at line 176 of file package_repository.class.php.
References $a_template, $i, $nb_template, and content.
Referenced by make_object().
Package_Repository::getContent | ( | ) |
Definition at line 94 of file package_repository.class.php.
References $content.
|
static |
Definition at line 79 of file package_repository.class.php.
References $time_cache_second.
Package_Repository::make_object | ( | $p_type, | |
$p_id | |||
) |
Definition at line 193 of file package_repository.class.php.
References $obj, $p_id, $p_type, content, find_plugin(), and find_template().
Package_Repository::read_package_xml | ( | $p_file | ) |
Read xml file from the package.
string | $p_file |
Definition at line 234 of file package_repository.class.php.
Package_Repository::setContent | ( | $content | ) |
set content
$content | xml file to be parsed |
Definition at line 104 of file package_repository.class.php.
References $content, content, and EXC_INVALID.
Referenced by __construct().
|
static |
int | $time_cache_second |
Definition at line 87 of file package_repository.class.php.
References $time_cache_second.
|
protected |
Definition at line 34 of file package_repository.class.php.
Referenced by __construct(), getContent(), and setContent().
|
static |
Definition at line 35 of file package_repository.class.php.
Referenced by getTimeCacheSecond(), and setTimeCacheSecond().