[Typo3-dev] Typo3 API seems very interrelated exactly with pages tree. This is wrong.

Konstantin pilot at m-lan.ru
Thu Nov 10 06:44:09 CET 2005


For example, class t3lib_tcemain

Function destNotInsideSelf ($dest,$id).

There is one main sting where you can see only 'pages' table. Why?

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('pid, uid', 'pages', 
'uid='.intval($dest).$this->deleteClause('pages'));

Is it hard to use third parametr in the

destNotInsideSelf ($dest,$id, >>>  $table='pages' <<< ).  ?

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('pid, uid', $table, 
'uid='.intval($dest).$this->deleteClause($table));

Strange... 






More information about the TYPO3-dev mailing list