[TYPO3-ect] upgrade from lib 0.0.23 to 0.0.24

Fabien Udriot fudriot at omic.ch
Tue Aug 28 18:14:55 CEST 2007


Hi,

I upgraded my extension from version 0.0.23 to 0.0.24 of lib. My 
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.

* cast the old list (tx_lib_object) and array.
   $pipe->castList('boxesLeft', 'tx_xxx_views', 'tx_xxx_views');



- 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)

* 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)



- 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()

best regards,

Fabien


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