eZPublish  4.4
advancedsearch.php File Reference

Functions

 pageLimit ($searchPageLimit)
 

Variables

 $classArray = eZContentClass::fetchList()
 
if($http->hasVariable(
'PhraseSearchText') and trim($http->
variable( 'PhraseSearchText'))!= '') 
$fullSearchText = ''
 
 $http = eZHTTPTool::instance()
 
 $ini = eZINI::instance()
 
 $logSearchStats = $ini->variable( 'SearchSettings', 'LogSearchStats' ) == 'enabled'
 
 $maximumSearchLimit = $ini->variable( 'SearchSettings', 'MaximumSearchLimit' )
 
 $Module = $Params['Module']
 
 $Offset = $Params['Offset']
 
 $originalSearchText = ''
 
if($http->hasVariable(
'SearchPageLimit')) 
$pageLimit = pageLimit( $searchPageLimit )
 
 $phraseSearchText = ''
 
if($searchSectionID!=-1) $Result = array()
 
 $Result ['path']
 
 $searchArray = eZSearch::buildSearchArray()
 
 $searchArrayByClassAttributeID = array()
 
 $searchContentClassAttributeArray = array()
 
if($http->hasVariable(
'SearchContentClassID') and
$http->variable(
'SearchContentClassID')!=-1) 
$searchContentClassAttributeID = -1
 
 $searchContentClassAttributes = 0
 
if($http->hasVariable(
'SearchText')) 
$searchContentClassID = -1
 
 $searchData = false
 
if($http->hasVariable(
'SearchContentClassAttributeID')
and $http->variable(
'SearchContentClassAttributeID')!=-1) 
$searchDate = -1
 
 $searchPageLimit = 2
 
if($http->hasVariable(
'SearchTimestamp') and $http->
variable( 'SearchTimestamp')) 
$searchSectionID = -1
 
 $searchTermsArray = array()
 
 $searchText = ''
 
if($http->hasVariable(
'SearchDate') and $http->
variable( 'SearchDate')!=-1) 
$searchTimestamp = false
 
 $sectionArray = eZSection::fetchList()
 
if($http->hasVariable(
'SearchSectionID') and $http->
variable( 'SearchSectionID')!=-1) 
$subTreeArray = array()
 
 $tpl = eZTemplate::factory()
 
 $useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
 
 $ViewMode = $Params['ViewMode']
 
if($useSearchCode) $viewParameters = array( 'offset' => $Offset )
 
if($useSearchCode) else
 

Function Documentation

pageLimit (   $searchPageLimit)

Get search limit

Variable Documentation

if ($http->hasVariable( 'PhraseSearchText') and trim($http->variable( 'PhraseSearchText'))!= '') $fullSearchText = ''
$ini = eZINI::instance()
$logSearchStats = $ini->variable( 'SearchSettings', 'LogSearchStats' ) == 'enabled'
$maximumSearchLimit = $ini->variable( 'SearchSettings', 'MaximumSearchLimit' )
$Module = $Params['Module']
$Offset = $Params['Offset']
$originalSearchText = ''
if ($http->hasVariable( 'SearchPageLimit')) $pageLimit = pageLimit( $searchPageLimit )
$phraseSearchText = ''
if ($searchSectionID!=-1) $Result = array()
$Result['path']
Initial value:
= array( array( 'text' => ezpI18n::tr( 'kernel/content', 'Search' ),
'url' => false ),
array( 'text' => ezpI18n::tr( 'kernel/content', 'Advanced' ),
'url' => false ) )
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:88
$searchArrayByClassAttributeID = array()
$searchContentClassAttributeArray = array()
if ($http->hasVariable( 'SearchContentClassID') and $http->variable( 'SearchContentClassID')!=-1) $searchContentClassAttributeID = -1

Referenced by eZSearchEngine\search().

$searchContentClassAttributes = 0
if ($http->hasVariable( 'SearchText')) $searchContentClassID = -1

Referenced by eZSearchEngine\search().

$searchData = false
if ($http->hasVariable( 'SearchContentClassAttributeID') and $http->variable( 'SearchContentClassAttributeID')!=-1) $searchDate = -1

Referenced by eZSearchEngine\search().

$searchPageLimit = 2

Referenced by pageLimit().

if ($http->hasVariable( 'SearchTimestamp') and $http->variable( 'SearchTimestamp')) $searchSectionID = -1

Referenced by eZSearchEngine\search().

$searchTermsArray = array()
if ($http->hasVariable( 'SearchDate') and $http->variable( 'SearchDate')!=-1) $searchTimestamp = false
$sectionArray = eZSection::fetchList()
if ($http->hasVariable( 'SearchSectionID') and $http->variable( 'SearchSectionID')!=-1) $subTreeArray = array()
$useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
$ViewMode = $Params['ViewMode']
if ($useSearchCode) $viewParameters = array( 'offset' => $Offset )
if (!$useSearchCode) else
Initial value:
{
$tpl->setVariable( 'offset', false )
$tpl
Definition: eztc.php:134