[TYPO3-ect] upgrade from lib 0.0.23 to 0.0.24
Elmar Hinz
elmar07 at googlemail.com
Tue Aug 28 18:22:35 CEST 2007
Fabien Udriot wrote:
> Hi,
>
> I upgraded my extension from version 0.0.23 to 0.0.24 of lib. My
To the current version from subversion is we see below.
It will become 0.0.25
> inspiration was the extension bananas. Here are the following things
> that I had to change :
>
>
> - UPDATE THE configurations/setup.txt
> @see bananas.
>
>
> - CONTROLLERS :
>
> * transform the variables names ($model - $view etc...) with the new
> $pipe logic. (I found this model very convenient :) )
> $pipe = $this->makeInstance('tx_xxx_model');
> @see bananas.
This is not essential. The purpose of this renaming is, to underline the
idea of a pipe in the bananas controller.
>
> * cast the old list (tx_lib_object) and array.
> $pipe->castList('boxesLeft', 'tx_xxx_views', 'tx_xxx_views');
New feature.
>
>
>
> - MODELS :
>
> * change the "extends"
> -> class tx_xxx_models_boxAjax extends *tx_lib_processor*
>
> * add the following property :
> public $status = TX_LIB_APS_OK;
> (normally, Elmar will add this property in the parent class)
Required for processors with more then one result status.
>
> * REMOVE THE OLD CONSTRUCTOR !
>
>
> - VIEWS :
>
> * add everywhere the property :
> public $status = TX_LIB_APS_OK;
> (normally, Elmar will add this property in the parent class)
>
Required for processors with more then one result status.
>
>
> - OBJECT : tx_lib_sessionProcessor,
>
> * search / replace the following method name
> * load() -> loadSession()
> * store() -> storeSession()
> * overwriteWithParameters() -> receiveParameters()
>
>
> - OBJECT : tx_lib_sessionProcessor,
> * search / replace the following method name
> * translateContent() -> translate()
>
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list