Project

General

Profile

Actions

Feature #18548

closed

Adding autoload

Added by Popy no-lastname-given over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-04-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

In typo3 every class instances are done throught t3lib_div::makeInstance, so we can use it in order to implement a php4 compatible autoloader.
I think it is a really interesting functionnality, because there's many places in typo3 where we have to write classes reference like 'PATH_TO_FILE:classname->function'

I did implement this functionnality in my own library (pp_lib, in class tx_pplib_div::makeInstance), and as it's working very well, i did adapt it for t3lib_div.

(issue imported from #M8000)


Files

t3lib_div.diff (1.99 KB) t3lib_div.diff Administrator Admin, 2008-04-03 11:29

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #19192: Add autoloading to reduce require(_once) callsClosedIngo Renner2008-08-04

Actions
Has duplicate TYPO3 Core - Feature #19503: Implement autoloading for TYPO3ClosedOliver Hader2008-10-24

Actions
Actions #1

Updated by Oliver Hader over 15 years ago

Autoloading is integrated in TYPO3 4.3 - see issue #19503

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF