MVC Framework/Update

From TYPO3Wiki

Jump to: navigation, search
Teams Committees This project/information is related to the Extension coordination team
 List Projects The MVC Framework aka lib/div-project
list pages
See Current Project Members, Wishlist 
    you can help if you like!


The most important simplifications comparing tslib_pibase.

Links

The dozends of mystical linkfunctions have been replaced with one link object, that has a rather simple API.

class variables

The setting of most class variables of tslib_pibase have been made obsolete.


var $prefixId = 'tx_test_pi1';

Replaced by the function getDesignator(). Without setting it defaults to the extension key.


var $scriptRelPath = 'pi1/class.tx_test_pi1.php';

We have the function includeExtensionFile($relativePath) to include extension files that are no classes. Classes are autoincluded during instantiation by tx_div::makeInstance('className') .


var $extKey = 'test';

Autodetaction by getExtensionKey().


var $this->pi_USER_INT_obj=1;

Has been a heavily confusing misconception of tslib_pibase. It has never been fixed. I suggested solutions.


var $conf;

Configuration works with the configuration object now, that is generated by tx_lib_controller. We just need to call getConfiguration($key).

Personal tools