Thursday 12 October 2006 5:20:48 am
Hi JPS
This variable is created by the file \kernel\rss\list.php which then calls the rss/list template.
I don't think there is way to fetch the list from within a template, so the easiest thing might be to just create your own templateoperator which does that for you. If you have a look at the file you can see that the code for creating the list is really simple:
// Get all RSS Exports
$exportArray = eZRSSExport::fetchList();
$exportList = array();
foreach( array_keys( $exportArray ) as $exportID )
{
$export =& $exportArray[$exportID];
$exportList[$export->attribute( 'id' )] =& $export;
}
// Get all RSS imports
$importArray = eZRSSImport::fetchList();
$importList = array();
foreach( array_keys( $importArray ) as $importID )
{
$import =& $importArray[$importID];
$importList[$import->attribute( 'id' )] =& $import;
}
Here you can find information how to create a template operator: http://ez.no/products/ez_publish/documentation/development/extensions/template_operator If you need help with that just ask, but it is really easy. Greetings from Luxembourg Claudia
|