search.php File Reference

Go to the source code of this file.

Namespaces

namespace  MythWeb

Functions

 prep_search ($str)
 Prep a search string for matching, and return the comparison string.
 search_escape ($value, $anchor='none')
 Helps format search queries.
 print_advanced_search_strings ()
 Prints out the entire advanced search string content block; /*.
 category_type_list ()
 Prints out a list of program types, along with checkboxes.
 movie_star_select ($name)
 Print a <select> with movie star ratings in it.

Variables

 $_SESSION ['search']['type'] = 'q'
 $_REQUEST ['search'] = true
 $_SESSION ['search']['stars_lt'] = floatVal($_REQUEST['stars_lt'])
 $_SESSION ['search']['airdate_start'] = trim($_REQUEST['airdate_start'])
 $_SESSION ['search']['airdate_end'] = trim($_REQUEST['airdate_end'])
 $_SESSION ['search']['starttime'] = trim($_REQUEST['starttime'])
 $_SESSION ['search']['endtime'] = trim($_REQUEST['endtime'])
 $_SESSION ['search']['as'] = array($_SESSION['search']['as'])
else $_SESSION ['search']['af'] = array(array('title'))
else $_SESSION ['search']['aj'] = array('AND')
 $fixeds = array()
 $fixedf = array()
 $fixedj = array()
else $fixedj [] = $_SESSION['search']['aj'][$i]
 $fields = array()
else $field = 'title'
 $fields [] = $field
else $_SESSION ['search']['af'][$i] = array('title')
 $fixeds [] = trim($str)
 $fixedf [] = $fields
 $extra_query = array()
 $tmpdate = strtotime($tmpdate)
 $extra_query [] = 'program.stars >= '.str_replace(',', '.', $starcount)
 $search_str = $match[2]
 $query = implode(' OR ', $query)
 $titles = array()
 $seen = array()
 $skey = $show->channel->name.$show->starttime.$tkey
 continue
$Results[$key2] extra_showings [] = array($show->chanid, $show->starttime)
 exit


Function Documentation

prep_search ( str  ) 

Prep a search string for matching, and return the comparison string.

Parameters:
 
Returns:
array /*

Definition at line 381 of file search.php.

search_escape ( value,
anchor = 'none' 
)

Helps format search queries.

/*

Definition at line 405 of file search.php.

print_advanced_search_strings (  ) 

Prints out the entire advanced search string content block; /*.

Definition at line 425 of file search.php.

category_type_list (  ) 

Prints out a list of program types, along with checkboxes.

/*

Definition at line 492 of file search.php.

movie_star_select ( name  ) 

Print a <select> with movie star ratings in it.

/*

Definition at line 513 of file search.php.


Variable Documentation

$_SESSION['search']['type'] = 'q'

Definition at line 34 of file search.php.

$_REQUEST['search'] = true

Definition at line 35 of file search.php.

$_SESSION['search']['stars_lt'] = floatVal($_REQUEST['stars_lt'])

Definition at line 57 of file search.php.

$_SESSION['search']['airdate_start'] = trim($_REQUEST['airdate_start'])

Definition at line 58 of file search.php.

$_SESSION['search']['airdate_end'] = trim($_REQUEST['airdate_end'])

Definition at line 59 of file search.php.

$_SESSION['search']['starttime'] = trim($_REQUEST['starttime'])

Definition at line 60 of file search.php.

$_SESSION['search']['endtime'] = trim($_REQUEST['endtime'])

Definition at line 61 of file search.php.

$_SESSION['search']['as'] = array($_SESSION['search']['as'])

Definition at line 80 of file search.php.

$_SESSION['search']['af'] = array(array('title'))

Definition at line 86 of file search.php.

$_SESSION['search']['aj'] = array('AND')

Definition at line 92 of file search.php.

$fixeds = array()

Definition at line 96 of file search.php.

$fixedf = array()

Definition at line 97 of file search.php.

$fixedj = array()

Definition at line 98 of file search.php.

else $fixedj[] = $_SESSION['search']['aj'][$i]

Definition at line 106 of file search.php.

$fields = array()

Definition at line 108 of file search.php.

else $field = 'title'

Definition at line 115 of file search.php.

$fields[] = $field

Definition at line 117 of file search.php.

else $_SESSION['search']['af'][$i] = array('title')

Definition at line 121 of file search.php.

$fixeds[] = trim($str)

Definition at line 122 of file search.php.

$fixedf[] = $fields

Definition at line 123 of file search.php.

$extra_query = array()

Definition at line 140 of file search.php.

$tmpdate = strtotime($tmpdate)

Definition at line 183 of file search.php.

$extra_query[] = 'program.stars >= '.str_replace(',', '.', $starcount)

Definition at line 284 of file search.php.

$search_str = $match[2]

Definition at line 286 of file search.php.

$query = implode(' OR ', $query)

Definition at line 302 of file search.php.

$titles = array()

Definition at line 328 of file search.php.

$seen = array()

Definition at line 329 of file search.php.

$skey = $show->channel->name.$show->starttime.$tkey

Definition at line 332 of file search.php.

Definition at line 335 of file search.php.

$Results [$key2] extra_showings[] = array($show->chanid, $show->starttime)

Definition at line 351 of file search.php.

exit

Definition at line 366 of file search.php.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5