eZPublish  4.4
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']
 
 $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 = eZTemplate::factory()
 
 $useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
 
if($useSearchCode) if($searchSectionID!=-1) $viewParameters = array( 'offset' => $Offset )
 
if($http->hasVariable(
'BrowsePageLimit')) 
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']
$Result = array()
$Result['content'] = $tpl->fetch( "design:content/search.tpl" )
$Result['path']
Initial value:
= array( array( 'text' => ezpI18n::tr( 'kernel/content', 'Search' ),
'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
$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()
$useSearchCode = $ini->variable( 'SearchSettings', 'SearchViewHandling' ) == 'default'
if ($useSearchCode) if ($searchSectionID!=-1) $viewParameters = array( 'offset' => $Offset )
if (!$useSearchCode) else
Initial value:
{
if ( $http->hasVariable( 'SearchPageLimit' ) )
{
$searchPageLimit = $http->variable( 'SearchPageLimit' );
}
$searchPageLimit
Definition: advancedsearch.php:76
$http
Definition: eztc.php:81
if($http->hasVariable( 'SearchPageLimit')) $pageLimit
Definition: advancedsearch.php:82
pageLimit($searchPageLimit)
Definition: advancedsearch.php:32