mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 18:10:42 +00:00
better documentation of checkExtensionByName()
This commit is contained in:
parent
4be5afcef8
commit
3efcf064f2
|
|
@ -410,14 +410,19 @@ $EXT_CONF = '.var_export($EXT_CONF, true).';');
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check content of extension directory or configuration of extension
|
* Check configuration of extension
|
||||||
*
|
*
|
||||||
* @param string|array $dir full path to extension directory or extension name
|
* This method checks if the configurations of an extension is complete
|
||||||
* or an array containing the configuration.
|
* and all dependencies specified in the configuration are met.
|
||||||
* @param array $options array with options elements 'noconstraints' and 'nofiles'.
|
*
|
||||||
* Set 'noconstraints' to true if
|
* @param string $extname not used anymore. Was previously use to store
|
||||||
* constraints to local seeddms installation shall not be checked. Set 'nofiles'
|
* result of the check into $this->configcache, but this method can be
|
||||||
* to true to turn off checking of files
|
* used for installed extensions and those in the repository, which makes
|
||||||
|
* the use of a cache useless.
|
||||||
|
* @param array $extconf extension configuration to be checked
|
||||||
|
* @param array $options array with option element 'noconstraints'.
|
||||||
|
* Set 'noconstraints' to true if constraints to local seeddms
|
||||||
|
* installation shall not be checked.
|
||||||
* @return boolean true if check was successful, otherwise false
|
* @return boolean true if check was successful, otherwise false
|
||||||
*/
|
*/
|
||||||
public function checkExtensionByName($extname, $extconf, $options=array()) { /* {{{ */
|
public function checkExtensionByName($extname, $extconf, $options=array()) { /* {{{ */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user