eZPublishCommunityProject(LegacyStack)  2013.5
edit_import.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

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, eZRSSImport::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 = eZTemplate::factory()
 
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' => ezpI18n::tr( 'kernel/rss', 'Really Simple Syndication' ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
if ($http->hasPostVariable( 'RSSImport_ID')) if (!is_numeric($rssImportID)) $rssImport = eZRSSImport::fetch( $rssImportID, true, eZRSSImport::STATUS_DRAFT )

Referenced by checkTimeout(), and storeRSSImport().

$rssImportID = isset( $Params['RSSImportID'] ) ? $Params['RSSImportID'] : false

Referenced by 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 = eZTemplate::factory()
if (!$rssImport) if (!$rssImport) else
Initial value:
{
$timeout = checkTimeout( $rssImport )
checkTimeout($rssImport)
Definition: edit_import.php:202
if($http->hasPostVariable( 'RSSImport_ID')) if(!is_numeric($rssImportID)) $rssImport
Definition: edit_import.php:35