[TYPO3-ect] Import/Export und nachzuladende Exensions

Ingo Renner typo3 at ingo-renner.com
Mon Jan 9 14:51:02 CET 2006


Am Mon, 9 Jan 2006 09:55:43 +0100 schrieb Karsten Dambekalns:

Hi,

> @Robert:
> So we need a method in the EM to install an extension
>  installExtension($extkey [, $version])
> where $version is an array
>  $version = array('version' => 0.2.6,
>                   'operator' => 'min|max|strict')
> with operator being optional. If left out the latest version is installed. 
> Comments?

To me it doesn't make sense to make the second argument an array if it only
has 2 items, better would be to have the method with two optional
arguments, how about 

define('EM_INSTALL_VERSION_MIN', 1);
define('EM_INSTALL_VERSION_MAX', 2);
define('EM_INSTALL_VERSION_STRICT', 3);

installExtension($extkey [, $version [, $operator]])

example: installExtension('tt_news', '2.2.0', EM_INSTALL_VERSION_MIN);


cheers
Ingo

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-extension-coordination mailing list