eZPublish  3.8
edit_export.php File Reference

Variables

 $classArray = eZContentClass::fetchList()
 
 $config =& eZINI::instance( 'site.ini' )
 
 $db =& eZDB::instance()
 
 $http =& eZHTTPTool::instance()
 
 $Module =& $Params["Module"]
 
 $numberOfObjectsArray = $config->variable( 'RSSSettings', 'NumberOfObjectsList' )
 
 $numberOfObjectsDefault = $config->variable( 'RSSSettings', 'NumberOfObjectsDefault' )
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:rss/edit_export.tpl" )
 
 $Result ['path']
 
 $rssDefaultVersion = $config->variable( 'RSSSettings', 'DefaultVersion' )
 
 $rssExport = eZRSSExport::create( $user_id )
 
else $RSSExportID = false
 
 $rssExportID = $rssExport->attribute( 'id' )
 
 $rssExportItem = eZRSSExportItem::create( $rssExportID )
 
 $rssVersionArray = $config->variable( 'RSSSettings', 'AvailableVersionList' )
 
 $tpl =& templateInit()
 
 $user =& eZUser::currentUser()
 
 $user_id = $user->attribute( "contentobject_id" )
 
 $valid = true
 
 $validationErrors = array()
 
if($Module->isCurrentAction(
'Store')) else if($Module->
isCurrentAction( 'UpdateItem'))
else if($Module->
isCurrentAction( 'AddItem'))
else if($Module->
isCurrentAction( 'Cancel'))
else if($Module->
isCurrentAction( 'BrowseImage'))
else if($Module->
isCurrentAction( 'RemoveImage'))
if($http->hasPostVariable(
'Item_Count')) if(is_numeric($RSSExportID)) 
else
 

Variable Documentation

$classArray = eZContentClass::fetchList()
$db =& eZDB::instance()
$Module =& $Params["Module"]
$numberOfObjectsArray = $config->variable( 'RSSSettings', 'NumberOfObjectsList' )
$numberOfObjectsDefault = $config->variable( 'RSSSettings', 'NumberOfObjectsDefault' )
$Result = array()
$Result['content'] =& $tpl->fetch( "design:rss/edit_export.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezi18n( 'kernel/rss', 'Really Simple Syndication' ) ) )
$rssDefaultVersion = $config->variable( 'RSSSettings', 'DefaultVersion' )
else $RSSExportID = false
$rssExportID = $rssExport->attribute( 'id' )
$rssExportItem = eZRSSExportItem::create( $rssExportID )
$rssVersionArray = $config->variable( 'RSSSettings', 'AvailableVersionList' )
$tpl =& templateInit()
$user =& eZUser::currentUser()
$user_id = $user->attribute( "contentobject_id" )
$validationErrors = array()
if ($Module->isCurrentAction( 'Store')) else if ($Module->isCurrentAction( 'UpdateItem')) else if ($Module->isCurrentAction( 'AddItem')) else if ($Module->isCurrentAction( 'Cancel')) else if ($Module->isCurrentAction( 'BrowseImage')) else if ($Module->isCurrentAction( 'RemoveImage')) if ($http->hasPostVariable( 'Item_Count')) if (is_numeric($RSSExportID)) else
Initial value:
{
include_once( "kernel/classes/datatypes/ezuser/ezuser.php" )