eZPublish  3.8
search.php File Reference

Functions

 pageLimit ($searchPageLimit)
 

Variables

 $http =& eZHTTPTool::instance()
 
 $ini =& eZINI::instance()
 
 $logSearchStats = $ini->variable( 'SearchSettings', 'LogSearchStats' ) == 'enabled'
 
 $maximumSearchLimit = $ini->variable( 'SearchSettings', 'MaximumSearchLimit' )
 
 $Module =& $Params["Module"]
 
 $Offset = $Params['Offset']
 
if($http->hasVariable(
'SearchPageLimit')) 
$pageLimit = pageLimit( $searchPageLimit )
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:content/search.tpl" )
 
 $Result ['path']
 
 $searchData = false
 
 $searchPageLimit = 2
 
if($http->hasVariable("SearchText")) $searchSectionID = -1
 
 $searchText = ''
 
if($http->hasVariable("SectionID")) $searchTimestamp = false
 
if($http->hasVariable(
'SearchTimestamp') and $http->
variable( 'SearchTimestamp')) 
$searchType = "fulltext"
 
if($http->hasVariable("SearchType")) $subTreeArray = array()
 
 $tpl =& templateInit()
 
 $useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
 
if($useSearchCode) if($searchSectionID!=-1) $viewParameters = array( 'offset' => $Offset )
 
if($useSearchCode) else
 

Function Documentation

pageLimit (   $searchPageLimit)

Get search limit

Variable Documentation

$ini =& eZINI::instance()
$logSearchStats = $ini->variable( 'SearchSettings', 'LogSearchStats' ) == 'enabled'
$maximumSearchLimit = $ini->variable( 'SearchSettings', 'MaximumSearchLimit' )
$Module =& $Params["Module"]
$Offset = $Params['Offset']
if ($http->hasVariable( 'SearchPageLimit')) $pageLimit = pageLimit( $searchPageLimit )
$Result = array()
$Result['content'] =& $tpl->fetch( "design:content/search.tpl" )
$Result['path']
Initial value:
= array( array( 'text' => ezi18n( 'kernel/content', 'Search' ),
'url' => false ) )
$searchData = false
$searchPageLimit = 2
if ($http->hasVariable("SearchText")) $searchSectionID = -1
$searchText = ''
if ($http->hasVariable("SectionID")) $searchTimestamp = false
if ($http->hasVariable( 'SearchTimestamp') and $http->variable( 'SearchTimestamp')) $searchType = "fulltext"
if ($http->hasVariable("SearchType")) $subTreeArray = array()
$tpl =& templateInit()
$useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
if ($useSearchCode) if ($searchSectionID!=-1) $viewParameters = array( 'offset' => $Offset )
if (!$useSearchCode) else
Initial value:
{
$tpl->setVariable( "offset", false )
$tpl
Definition: eztc.php:141