[TYPO3-ect] RESULTS: Lot's of simplifications

Elmar HInz elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Jan 16 08:42:18 CET 2007


Hello list,

lib/div is still work in progress. A lot of things have been achived. I
want to point out the most important simplifactions 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).

Regards

Elmar






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