eZPublish  3.9
edit_import.php File Reference

Functions

 checkTimeout (&$rssImport)
 
 storeRSSImport (&$rssImport, $http, $publish=false)
 

Variables

 $classArray = eZContentClass::fetchList()
 
 $http =& eZHTTPTool::instance()
 
if($timeout!==false$importDescription = $rssImport->importDescription()
 
 $Module =& $Params["Module"]
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:rss/edit_import.tpl" )
 
 $Result ['path']
 
if($http->hasPostVariable(
'RSSImport_ID')) if(!is_numeric($rssImportID)) 
$rssImport = eZRSSImport::fetch( $rssImportID, true, EZ_RSSIMPORT_STATUS_DRAFT )
 
 $rssImportID = isset( $Params['RSSImportID'] ) ? $Params['RSSImportID'] : false
 
 $step = (int)$http->hasPostVariable( 'Step' ) ? $http->postVariable( 'step' ) : 1
 
if($Module->isCurrentAction(
'AnalyzeFeed')||$Module->
isCurrentAction( 'UpdateClass'))
else if($Module->
isCurrentAction( 'Store'))
else if($Module->
isCurrentAction( 'Cancel'))
else if($Module->
isCurrentAction(
'BrowseDestination')) else if($Module->
isCurrentAction( 'BrowseUser'))
if(isset($Params['BrowseType'])) 
$tpl =& templateInit()
 
if(!$rssImport) if(!$rssImport) else
 

Function Documentation

checkTimeout ( $rssImport)
storeRSSImport ( $rssImport,
  $http,
  $publish = false 
)

Variable Documentation

$classArray = eZContentClass::fetchList()
if ($timeout!==false) $importDescription = $rssImport->importDescription()

Referenced by importRSSItem(), and storeRSSImport().

$Module =& $Params["Module"]
$Result = array()
$Result['content'] =& $tpl->fetch( "design:rss/edit_import.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezi18n( 'kernel/rss', 'Really Simple Syndication' ) ) )
if ($http->hasPostVariable( 'RSSImport_ID')) if (!is_numeric($rssImportID)) $rssImport = eZRSSImport::fetch( $rssImportID, true, EZ_RSSIMPORT_STATUS_DRAFT )
$rssImportID = isset( $Params['RSSImportID'] ) ? $Params['RSSImportID'] : false

Referenced by checkTimeout(), and importRSSItem().

if ($Module->isCurrentAction( 'AnalyzeFeed')||$Module->isCurrentAction( 'UpdateClass')) else if ($Module->isCurrentAction( 'Store')) else if ($Module->isCurrentAction( 'Cancel')) else if ($Module->isCurrentAction( 'BrowseDestination')) else if ($Module->isCurrentAction( 'BrowseUser')) if (isset($Params['BrowseType'])) $tpl =& templateInit()
if (!$rssImport) if (!$rssImport) else
Initial value:
{
$timeout = checkTimeout( $rssImport )
checkTimeout(&$rssImport)
Definition: edit_import.php:227
if($http->hasPostVariable( 'RSSImport_ID')) if(!is_numeric($rssImportID)) $rssImport
Definition: edit_import.php:56