eZPublish  3.8
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 =& templateInit()
 
 $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' => ezi18n( 'kernel/content', 'Search' ),
'url' => false ),
array( 'text' => ezi18n( 'kernel/content', 'Advanced' ),
'url' => false ) )
$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

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
if ($http->hasVariable( 'SearchSectionID') and $http->variable( 'SearchSectionID')!=-1) $subTreeArray = array()
$tpl =& templateInit()
$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:141