[TYPO3-dev] clear page cache of page branch
    Dmitry Dulepov 
    dmitry at typo3.org
       
    Tue Jun 12 09:40:10 CEST 2007
    
    
  
Steffen Kamper wrote:
> afaik there is no API-call for this. You have to create the pidlist and then 
> clear cache of each page in a loop.
> maybe this snippet helps you:
> 
> $TCE = t3lib_div::makeInstance('t3lib_TCEmain');
> $TCE->admin = 1;
> $TCE->clear_cacheCmd('pages');
> $TCE->clear_cacheCmd($pid);
+ pid list can be created with a rootline function from t3lib_BEfunc.
-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
    
    
More information about the TYPO3-dev
mailing list