/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/DataListSource.html
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/DataListSource.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jonen, Sat Feb 22 20:56:17 2003 UTC revision 1.3 by jonen, Sat Sep 20 00:24:00 2003 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>  <?xml version="1.0" encoding="iso-8859-1"?>
2  <!--NewPage-->  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3  <HTML>    <html xmlns="http://www.w3.org/1999/xhtml">
4  <HEAD>                  <head>
5          <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:36 -0800' -->                          <!-- template designed by Marco Von Ballmoos -->
6          <TITLE>Docs For Class DataListSource</TITLE>                          <title>Docs For Class DataListSource</title>
7  <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>                          <link rel="stylesheet" href="../media/stylesheet.css" />
8  </HEAD>                          <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
9  <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">                  </head>
10  <!-- Links -->                  <body>
11  <a NAME="top"></A>                          <div class="page-body">                
12  <table WIDTH="100%" class="links">  <h2 class="class-name">Class DataListSource</h2>
13   <TR>  
14     <TD class="font10">  <a name="sec-description"></a>
15        Links:  <div class="info-box">
16        <A HREF="#children_summary" class="links" title="Classes extended from DataListSource">Child Classes</A>          <div class="info-box-title">Description</div>
17        <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>          <div class="nav-bar">
18        <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>                                          <span class="disabled">Description</span> |
19        <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>                                                          <a href="#sec-descendents">Descendents</a>
20        <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>                          |                                                                                       <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
21        <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>                                                  |                                                                                       <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
22        <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>                                                  
23     </TD>                          </div>
24   </TR>          <div class="info-box-body">
25  </TABLE>                  <!-- ========== Info from phpDoc block ========= -->
26  <BR>  <p class="short-description">This is the base class for managing data for  the DataList class.  This abstracts away the  underlying data layer from the DataList, so  the data can come from multiple sources.</p>
27  <!-- Start of Class Data -->  <p class="description"><p>Most of the time the data will come from a  data base such as Mysql or Oracle.  This  abstraction enables the data to also come from  a tab delimited file, xml, php array</p></p>
28  <H2>          <ul class="tags">
29          Class DataListSource                                  <li><span class="field">author:</span> <p>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</p></li>
30  </H2> (line <span class="linenumber">31</span>)                          </ul>
31  <pre>                  <p class="notes">
32  </pre>                          Located in <a class="field" href="_widgets_data_list_DataListSource_inc.html">Program_Root/widgets/data_list/DataListSource.inc</a> (line <span class="field">31</span>)
33  <SPAN class="type">Classes extended from DataListSource:</SPAN>                  </p>
34                  <dl>                  
35          <dt><a href="../phpHtmlLib/SQLDataListSource.html">SQLDataListSource</a></dt>                          
36                  <dd></dd>                  <pre></pre>
37          </dl>          
38                  <dl>                          </div>
39          <dt><a href="../phpHtmlLib/CSVFILEDataListSource.html">CSVFILEDataListSource</a></dt>  </div>
                 <dd>This DataListSource child class gets the data from a  CSV (comma seperated values) file on disk.</dd>  
         </dl>  
         </p>  
 <p>  
         <b><i>Located in File: Program_Root/widgets/data_list/DataListSource.inc</i></b><br>  
 </p>  
 <hr>  
 This is the base class for managing data for  the DataList class.  This abstracts away the  underlying data layer from the DataList, so  the data can come from multiple sources.  
 <br />  
 <p>Most of the time the data will come from a  data base such as Mysql or Oracle.  This  abstraction enables the data to also come from  a tab delimited file, xml, php array</p>  
 <UL>  
                 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>  
         </UL>  
 <hr>  
 <!-- =========== VAR SUMMARY =========== -->  
 <A NAME='var_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/DataListSource.html#var$_columns">$_columns</A></B></CODE>  
                         <BR>  
                         <blockquote> The column descriptions  for the data we are working on </blockquote>  
                         <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/DataListSource.html#var$_data">$_data</A></B></CODE>  
                         <BR>  
                         <blockquote> A placeholder for data that is read/built  and stored locally.  Not all data sources  have to use this. </blockquote>  
                         <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/DataListSource.html#var$_data_index">$_data_index</A></B></CODE>  
                         <BR>  
                         <blockquote> Holds the index into the array of data </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;0<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/DataListSource.html#var$_not_found_message">$_not_found_message</A></B></CODE>  
                         <BR>  
                         <blockquote> This is the message displayed when no data </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;"No&nbsp;data&nbsp;was&nbsp;found"<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/DataListSource.html#var$_query_params">$_query_params</A></B></CODE>  
                         <BR>  
                         <blockquote> This holds various parameters relating </blockquote>  
                         <blockquote> Default Value: <CODE>->array("num_total_rows"&nbsp;=&gt;&nbsp;0,<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"offset"&nbsp;=&gt;&nbsp;0,<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"limit"&nbsp;=&gt;&nbsp;-1,<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"orderby"&nbsp;=&gt;&nbsp;'',<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"reverseorder"&nbsp;=&gt;&nbsp;'',<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"searchby"&nbsp;=&gt;&nbsp;'',<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"searchvalue"&nbsp;=&gt;&nbsp;'',<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"searchmodifier"&nbsp;=&gt;&nbsp;'',<br>  
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"searchtype"&nbsp;=&gt;&nbsp;'simple')<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
         </TABLE>  
 <hr>  
 <!-- =========== VAR INHERITED SUMMARY =========== -->  
 <A NAME='var_inherited_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
         </TABLE>  
   
 <hr>  
 <!-- =========== METHOD SUMMARY =========== -->  
 <A NAME='method_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodDataListSource'>void constructor DataListSource (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> The constructor </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodadd_column'>void add_column ( $title, $data_name, [$sortable = FALSE], [$searchable = FALSE], [$sortorder = "ASC"] )</A></B></CODE>  
                         <BR>  
                         <blockquote> Add a column of data to manage </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methoddo_prequery'>void do_prequery (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This is a method that should be defined by the  child class to do any pre-query type of things. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methoddo_query'>void do_query (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This is the function that does the data fetching,  and sorting if needed. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_data_index'>int get_data_index (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the  data_index value and increments it </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_limit'>int get_limit (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function gets the current  value of the limit value </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_next_data_row'>array() get_next_data_row (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function gets the next data row  from the query() </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_not_found_message'>string get_not_found_message (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to get the  message displayed when no data is found </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_offset'>int get_offset (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  offset </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_orderby'>int get_orderby (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  orderby </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_reverseorder'>int get_reverseorder (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  reverseorder </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_searchby'>int get_searchby (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  searchby </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_searchby_value'>int get_searchby_value (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  search value </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_search_type'>string get_search_type (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> this function returns the current search type  for the DataList query </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_simplesearch_modifier'>int get_simplesearch_modifier (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the value of the  search value </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodget_total_rows'>int get_total_rows (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This returns the total number of rows  in our entire data set </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodquery'>void query ( $offset, $limit, $orderby, $reverseorder, $searchby, $searchby_value, $simplesearch_modifier, $search_type )</A></B></CODE>  
                         <BR>  
                         <blockquote> The main Query function. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_limit'>void set_limit ( $limit )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to set </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_not_found_message'>void set_not_found_message ( $mesg )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to set the  message displayed when no data is found </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_offset'>void set_offset ( $offset )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the offset value  and resets the index into the data  array (in non DB children) </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_orderby'>void set_orderby ( $orderby )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the orderby column name. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_reverseorder'>void set_reverseorder ( $order )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the flag that tells us the  direction in which to order the orderby  column. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_searchby'>void set_searchby ( $search_col )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the column that we want to search  from. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_searchby_value'>void set_searchby_value ( $search_value )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the data that we want to search  for. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_search_type'>void set_search_type ( $search_type )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function sets the search type  (simple or advanced) </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_simplesearch_modifier'>void set_simplesearch_modifier ( $search_modifier )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets the simple search modifier </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodset_total_rows'>void set_total_rows ( $num )</A></B></CODE>  
                         <BR>  
                         <blockquote> This is used to set the total # of  rows we have in our data set </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#methodsort'>void sort (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> A generic method API that can be used at the bottom  half of the do_query() method to sort data that is  stored locally.  This is only needed when the source  is a non database. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/DataListSource.html#method_is_column_sortable'>boolean _is_column_sortable ( $data_name )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function determines if the column  associated w/ a data_name is sortable  or not </blockquote>  
                 </TD>  
         </TR>  
         </TABLE>  
 <!-- =========== INHERITED METHOD SUMMARY =========== -->  
 <A NAME='functions_inherited'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
         </TABLE>  
 <hr>  
 <!-- ============ VARIABLE DETAIL =========== -->  
   
 <A NAME='variable_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Variable Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <A NAME='var$_columns'><!-- --></A><H3>$_columns</H3> (line <span class="linenumber">39</span>)<br />  
 <b>Data type:</b> array<br>The column descriptions  for the data we are working on  
 <br />  
   
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_data'><!-- --></A><H3>$_data</H3> (line <span class="linenumber">79</span>)<br />  
 <b>Data type:</b> mixed<br>A placeholder for data that is read/built  and stored locally.  Not all data sources  have to use this.  
 <br />  
 <p>Each entry in the array corresponds to 1 row  of data.</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_data_index'><!-- --></A><H3>$_data_index</H3> (line <span class="linenumber">70</span>)<br />  
 <b>Data type:</b> mixed<br>Holds the index into the array of data  
 <br />  
 <p>so we can keep track of where we are  when we are walking the array  (only usefull for non DB children)</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_not_found_message'><!-- --></A><H3>$_not_found_message</H3> (line <span class="linenumber">45</span>)<br />  
 <b>Data type:</b> mixed<br>This is the message displayed when no data  
 <br />  
 <p>was retrieved from the database</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_query_params'><!-- --></A><H3>$_query_params</H3> (line <span class="linenumber">53</span>)<br />  
 <b>Data type:</b> mixed<br>This holds various parameters relating  
 <br />  
 <p>to the query of the data</p>  
 <UL>  
         </UL>  
 <HR>  
 <hr>  
 <!-- ============ METHOD DETAIL =========== -->  
   
 <A NAME='method_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodDataListSource'><!-- --></A>  
 <SPAN CLASS="font12bold">Constructor DataListSource</SPAN> (line <span class="linenumber">85</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">DataListSource(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 The constructor  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodadd_column'><!-- --></A>  
 <SPAN CLASS="font12bold">add_column</SPAN> (line <span class="linenumber">108</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">add_column(  
 string  
 $title, string  
 $data_name, [boolean  
 $sortable = FALSE], [boolean  
 $searchable = FALSE], [string  
 $sortorder = "ASC"])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Add a column of data to manage  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$title</SPAN></SPAN> - the title of the column</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$data_name</SPAN></SPAN> - the data value name</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$sortable</SPAN></SPAN> - is the column sortable? default: FALSE</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$searchable</SPAN></SPAN> - is the column searchable default: FALSE</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$sortorder</SPAN></SPAN> - the sort order (ASC, DESC) default: ASC</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methoddo_prequery'><!-- --></A>  
 <SPAN CLASS="font12bold">do_prequery</SPAN> (line <span class="linenumber">185</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">do_prequery(  
 )</SPAN>  
 <BR>  
         <p>Overridden in child classes as:<br />  
                 <dl>  
         <dt><a href="../phpHtmlLib/SQLDataListSource.html#methoddo_prequery">SQLDataListSource::do_prequery()</a></dt>  
                 <dd></dd>  
         </dl>  
                 <dl>  
         <dt><a href="../phpHtmlLib/CSVFILEDataListSource.html#methoddo_prequery">CSVFILEDataListSource::do_prequery()</a></dt>  
                 <dd>The prequery.  We use this to read the file</dd>  
         </dl>  
         </p>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This is a method that should be defined by the  child class to do any pre-query type of things.  
 <br />  
 <p>Such as building a sql query string for a DB,  or checking to make sure the file on disk exists  if the source is a file on disk.</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methoddo_query'><!-- --></A>  
 <SPAN CLASS="font12bold">do_query</SPAN> (line <span class="linenumber">199</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">do_query(  
 )</SPAN>  
 <BR>  
         <p>Overridden in child classes as:<br />  
                 <dl>  
         <dt><a href="../phpHtmlLib/SQLDataListSource.html#methoddo_query">SQLDataListSource::do_query()</a></dt>  
                 <dd>Do the query to the DB and pull in all of  the records locally.</dd>  
         </dl>  
                 <dl>  
         <dt><a href="../phpHtmlLib/CSVFILEDataListSource.html#methoddo_query">CSVFILEDataListSource::do_query()</a></dt>  
                 <dd>This function does the query</dd>  
         </dl>  
         </p>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This is the function that does the data fetching,  and sorting if needed.  
 <br />  
 <p>If the source is a sql database, this is where the  query gets called.  This function doesn't actually read the  data from the DB yet.  That is what get_next_data_row()  does.</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_data_index'><!-- --></A>  
 <SPAN CLASS="font12bold">get_data_index</SPAN> (line <span class="linenumber">428</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_data_index(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the  data_index value and increments it  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_limit'><!-- --></A>  
 <SPAN CLASS="font12bold">get_limit</SPAN> (line <span class="linenumber">397</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_limit(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function gets the current  value of the limit value  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_next_data_row'><!-- --></A>  
 <SPAN CLASS="font12bold">get_next_data_row</SPAN> (line <span class="linenumber">172</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">array()</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_next_data_row(  
 )</SPAN>  
 <BR>  
         <p>Overridden in child classes as:<br />  
                 <dl>  
         <dt><a href="../phpHtmlLib/SQLDataListSource.html#methodget_next_data_row">SQLDataListSource::get_next_data_row()</a></dt>  
                 <dd>This function gets the next data row  from the query()</dd>  
         </dl>  
                 <dl>  
         <dt><a href="../phpHtmlLib/CSVFILEDataListSource.html#methodget_next_data_row">CSVFILEDataListSource::get_next_data_row()</a></dt>  
                 <dd>This function returns the next row of  valid data.</dd>  
         </dl>  
         </p>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function gets the next data row  from the query()  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_not_found_message'><!-- --></A>  
 <SPAN CLASS="font12bold">get_not_found_message</SPAN> (line <span class="linenumber">231</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_not_found_message(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to get the  message displayed when no data is found  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_offset'><!-- --></A>  
 <SPAN CLASS="font12bold">get_offset</SPAN> (line <span class="linenumber">274</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_offset(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  offset  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_orderby'><!-- --></A>  
 <SPAN CLASS="font12bold">get_orderby</SPAN> (line <span class="linenumber">296</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_orderby(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  orderby  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_reverseorder'><!-- --></A>  
 <SPAN CLASS="font12bold">get_reverseorder</SPAN> (line <span class="linenumber">317</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_reverseorder(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  reverseorder  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_searchby'><!-- --></A>  
 <SPAN CLASS="font12bold">get_searchby</SPAN> (line <span class="linenumber">337</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_searchby(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  searchby  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_searchby_value'><!-- --></A>  
 <SPAN CLASS="font12bold">get_searchby_value</SPAN> (line <span class="linenumber">357</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_searchby_value(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  search value  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_search_type'><!-- --></A>  
 <SPAN CLASS="font12bold">get_search_type</SPAN> (line <span class="linenumber">418</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_search_type(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 this function returns the current search type  for the DataList query  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_simplesearch_modifier'><!-- --></A>  
 <SPAN CLASS="font12bold">get_simplesearch_modifier</SPAN> (line <span class="linenumber">377</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_simplesearch_modifier(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the value of the  search value  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_total_rows'><!-- --></A>  
 <SPAN CLASS="font12bold">get_total_rows</SPAN> (line <span class="linenumber">241</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">int</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_total_rows(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This returns the total number of rows  in our entire data set  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodquery'><!-- --></A>  
 <SPAN CLASS="font12bold">query</SPAN> (line <span class="linenumber">138</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">query(  
 int  
 $offset, int  
 $limit, string  
 $orderby, string  
 $reverseorder, string  
 $searchby, string  
 $searchby_value, string  
 $simplesearch_modifier, mixed  
 $search_type)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 The main Query function.  
 <br />  
 <p>This function is responsible for doing  any data prefetching from a db,file  and doing any sorting and searching  on it depending on the values passed  in from the DataList object</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$offset</SPAN></SPAN> - the offset into the data set</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$limit</SPAN></SPAN> - the # of rows to get</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$orderby</SPAN></SPAN> - the column to order the data by</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$reverseorder</SPAN></SPAN> - order in asc or reverse?</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$searchby</SPAN></SPAN> - the column in the dataset to search by</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$searchby_value</SPAN></SPAN> - the value to look for</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$simplesearch_modifier</SPAN></SPAN> - the simple search modifier.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_limit'><!-- --></A>  
 <SPAN CLASS="font12bold">set_limit</SPAN> (line <span class="linenumber">387</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_limit(  
 mixed  
 $limit)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to set  
 <br />  
 <p>the limit value, which limits  the # of rows of data to allow  to return</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_not_found_message'><!-- --></A>  
 <SPAN CLASS="font12bold">set_not_found_message</SPAN> (line <span class="linenumber">221</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_not_found_message(  
 string  
 $mesg)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to set the  message displayed when no data is found  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$mesg</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_offset'><!-- --></A>  
 <SPAN CLASS="font12bold">set_offset</SPAN> (line <span class="linenumber">263</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_offset(  
 int  
 $offset)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This sets the offset value  and resets the index into the data  array (in non DB children)  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$offset</SPAN></SPAN> offset</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_orderby'><!-- --></A>  
 <SPAN CLASS="font12bold">set_orderby</SPAN> (line <span class="linenumber">286</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_orderby(  
 int  
 $orderby)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This sets the orderby column name.  
 <br />  
 <p>This corresponds to the column  that wants to be sorted/ordered, but  not the actual direction (asc, desc)</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$orderby</SPAN></SPAN> offset</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_reverseorder'><!-- --></A>  
 <SPAN CLASS="font12bold">set_reverseorder</SPAN> (line <span class="linenumber">307</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_reverseorder(  
 int  
 $order)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This sets the flag that tells us the  direction in which to order the orderby  column.  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$order</SPAN></SPAN> offset</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_searchby'><!-- --></A>  
 <SPAN CLASS="font12bold">set_searchby</SPAN> (line <span class="linenumber">327</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_searchby(  
 int  
 $search_col)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This sets the column that we want to search  from.  
 <br />  
40    
41  <DL>          <a name="sec-descendents"></a>
42          <DT class="font10bold">Function Parameters:</DT>          <div class="info-box">
43                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$search_col</SPAN></SPAN> offset</DD>                  <div class="info-box-title">Direct descendents</div>
44                            <div class="nav-bar">
45          <DT class="font10bold">Function Info:</DT>                          <a href="#sec-description">Description</a> |
46          </DL>                          <span class="disabled">Descendents</span>
47  </DIV>                          |                                                                                               <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
48  <BR>                                                                  |                                                                                                                       <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
49  <DIV CLASS="function">                                                          
50  <A NAME='methodset_searchby_value'><!-- --></A>                                          </div>
51  <SPAN CLASS="font12bold">set_searchby_value</SPAN> (line <span class="linenumber">347</span>)                  <div class="info-box-body">
52  <BR>                          <table cellpadding="2" cellspacing="0" class="class-table">
53  <SPAN CLASS="font10bold">Usage : </SPAN>                                  <tr>
54  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;                                          <th class="class-table-header">Class</th>
55  <span class="font10bold" style="color: #0000FF">set_searchby_value(                                          <th class="class-table-header">Description</th>
56  int                                  </tr>
57  $search_value)</SPAN>                                                                  <tr>
58  <BR>                                          <td style="padding-right: 2em"><a href="../phpHtmlLib/SQLDataListSource.html">SQLDataListSource</a></td>
59                                            <td>
60                                                                                            
61                                                                                    </td>
62                                    </tr>
63                                                                    <tr>
64                                            <td style="padding-right: 2em"><a href="../phpHtmlLib/CSVFILEDataListSource.html">CSVFILEDataListSource</a></td>
65                                            <td>
66                                                                                            This DataListSource child class gets the data from a  CSV (comma seperated values) file on disk.
67                                                                                    </td>
68                                    </tr>
69                                                                    <tr>
70                                            <td style="padding-right: 2em"><a href="../phpHtmlLib/ArrayDataListSource.html">ArrayDataListSource</a></td>
71                                            <td>
72                                                                                            This DataListSource child class gets the data from an  external array
73                                                                                    </td>
74                                    </tr>
75                                                            </table>
76                    </div>
77            </div>
78    
79  <BR>          <a name="sec-var-summary"></a>
80  <SPAN CLASS="font10bold">Description : </SPAN>          <div class="info-box">
81  This sets the data that we want to search  for.                  <div class="info-box-title">Variable Summary</span></div>
82  <br />                  <div class="nav-bar">
83                            <a href="#sec-description">Description</a> |
84                                                            <a href="#sec-descendents">Descendents</a> |
85                                                    <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
86                                                            |
87                                                                            <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
88                                                            
89                                            </div>
90                    <div class="info-box-body">
91                            <div class="var-summary">
92                                                                    <div class="var-title">
93                                            <span class="var-type">array</span>
94                                            <a href="#$_columns" title="details" class="var-name">$_columns</a>
95                                    </div>
96                                                                    <div class="var-title">
97                                            <span class="var-type">mixed</span>
98                                            <a href="#$_data" title="details" class="var-name">$_data</a>
99                                    </div>
100                                                                    <div class="var-title">
101                                            <span class="var-type">mixed</span>
102                                            <a href="#$_data_index" title="details" class="var-name">$_data_index</a>
103                                    </div>
104                                                                    <div class="var-title">
105                                            <span class="var-type">mixed</span>
106                                            <a href="#$_not_found_message" title="details" class="var-name">$_not_found_message</a>
107                                    </div>
108                                                                    <div class="var-title">
109                                            <span class="var-type">mixed</span>
110                                            <a href="#$_query_params" title="details" class="var-name">$_query_params</a>
111                                    </div>
112                                                            </div>
113                    </div>
114            </div>
115    
116  <DL>          <a name="sec-method-summary"></a>
117          <DT class="font10bold">Function Parameters:</DT>          <div class="info-box">
118                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$search_value</SPAN></SPAN> offset</DD>                  <div class="info-box-title">Method Summary</span></div>
119                            <div class="nav-bar">
120          <DT class="font10bold">Function Info:</DT>                          <a href="#sec-description">Description</a> |
121          </DL>                                                          <a href="#sec-descendents">Descendents</a> |
122  </DIV>                                                                                                                          <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
123  <BR>                                  
124  <DIV CLASS="function">                                  |
125  <A NAME='methodset_search_type'><!-- --></A>                                                  <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
126  <SPAN CLASS="font12bold">set_search_type</SPAN> (line <span class="linenumber">408</span>)                  </div>
127  <BR>                  <div class="info-box-body">                    
128  <SPAN CLASS="font10bold">Usage : </SPAN>                          <div class="method-summary">
129  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;                                                                  
130  <span class="font10bold" style="color: #0000FF">set_search_type(                                  <div class="method-definition">
131  string                                                                                          <span class="method-result">void</span>
132  $search_type)</SPAN>                                                                                  <a href="#DataListSource" title="details" class="method-name">DataListSource</a>
133  <BR>                                                                                  ()
134                                                                            </div>
135                                                                    
136                                    <div class="method-definition">
137                                                                                            <span class="method-result">void</span>
138                                                                                    <a href="#add_column" title="details" class="method-name">add_column</a>
139                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$data_name</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$sortable</span> = <span class="var-default">FALSE</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$searchable</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sortorder</span> = <span class="var-default">"ASC"</span>])
140                                                                            </div>
141                                                                    
142                                    <div class="method-definition">
143                                                                                            <span class="method-result">void</span>
144                                                                                    <a href="#do_prequery" title="details" class="method-name">do_prequery</a>
145                                                                                    ()
146                                                                            </div>
147                                                                    
148                                    <div class="method-definition">
149                                                                                            <span class="method-result">boolean</span>
150                                                                                    <a href="#do_query" title="details" class="method-name">do_query</a>
151                                                                                    ()
152                                                                            </div>
153                                                                    
154                                    <div class="method-definition">
155                                                                                            <span class="method-result">int</span>
156                                                                                    <a href="#get_data_index" title="details" class="method-name">get_data_index</a>
157                                                                                    ()
158                                                                            </div>
159                                                                    
160                                    <div class="method-definition">
161                                                                                            <span class="method-result">int</span>
162                                                                                    <a href="#get_limit" title="details" class="method-name">get_limit</a>
163                                                                                    ()
164                                                                            </div>
165                                                                    
166                                    <div class="method-definition">
167                                                                                            <span class="method-result">array()</span>
168                                                                                    <a href="#get_next_data_row" title="details" class="method-name">get_next_data_row</a>
169                                                                                    ()
170                                                                            </div>
171                                                                    
172                                    <div class="method-definition">
173                                                                                            <span class="method-result">string</span>
174                                                                                    <a href="#get_not_found_message" title="details" class="method-name">get_not_found_message</a>
175                                                                                    ()
176                                                                            </div>
177                                                                    
178                                    <div class="method-definition">
179                                                                                            <span class="method-result">int</span>
180                                                                                    <a href="#get_offset" title="details" class="method-name">get_offset</a>
181                                                                                    ()
182                                                                            </div>
183                                                                    
184                                    <div class="method-definition">
185                                                                                            <span class="method-result">int</span>
186                                                                                    <a href="#get_orderby" title="details" class="method-name">get_orderby</a>
187                                                                                    ()
188                                                                            </div>
189                                                                    
190                                    <div class="method-definition">
191                                                                                            <span class="method-result">int</span>
192                                                                                    <a href="#get_reverseorder" title="details" class="method-name">get_reverseorder</a>
193                                                                                    ()
194                                                                            </div>
195                                                                    
196                                    <div class="method-definition">
197                                                                                            <span class="method-result">int</span>
198                                                                                    <a href="#get_searchby" title="details" class="method-name">get_searchby</a>
199                                                                                    ()
200                                                                            </div>
201                                                                    
202                                    <div class="method-definition">
203                                                                                            <span class="method-result">int</span>
204                                                                                    <a href="#get_searchby_value" title="details" class="method-name">get_searchby_value</a>
205                                                                                    ()
206                                                                            </div>
207                                                                    
208                                    <div class="method-definition">
209                                                                                            <span class="method-result">string</span>
210                                                                                    <a href="#get_search_type" title="details" class="method-name">get_search_type</a>
211                                                                                    ()
212                                                                            </div>
213                                                                    
214                                    <div class="method-definition">
215                                                                                            <span class="method-result">int</span>
216                                                                                    <a href="#get_simplesearch_modifier" title="details" class="method-name">get_simplesearch_modifier</a>
217                                                                                    ()
218                                                                            </div>
219                                                                    
220                                    <div class="method-definition">
221                                                                                            <span class="method-result">int</span>
222                                                                                    <a href="#get_total_rows" title="details" class="method-name">get_total_rows</a>
223                                                                                    ()
224                                                                            </div>
225                                                                    
226                                    <div class="method-definition">
227                                                                                            <span class="method-result">void</span>
228                                                                                    <a href="#query" title="details" class="method-name">query</a>
229                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$limit</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$orderby</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$reverseorder</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchby</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchby_value</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$simplesearch_modifier</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$search_type</span>)
230                                                                            </div>
231                                                                    
232                                    <div class="method-definition">
233                                                                                            <span class="method-result">boolean</span>
234                                                                                    <a href="#row_filter" title="details" class="method-name">row_filter</a>
235                                                                                            (<span class="var-type">array</span>&nbsp;<span class="var-name">&$row_data</span>)
236                                                                            </div>
237                                                                    
238                                    <div class="method-definition">
239                                                                                            <span class="method-result">void</span>
240                                                                                    <a href="#set_limit" title="details" class="method-name">set_limit</a>
241                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$limit</span>)
242                                                                            </div>
243                                                                    
244                                    <div class="method-definition">
245                                                                                            <span class="method-result">void</span>
246                                                                                    <a href="#set_not_found_message" title="details" class="method-name">set_not_found_message</a>
247                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$mesg</span>)
248                                                                            </div>
249                                                                    
250                                    <div class="method-definition">
251                                                                                            <span class="method-result">void</span>
252                                                                                    <a href="#set_offset" title="details" class="method-name">set_offset</a>
253                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span>)
254                                                                            </div>
255                                                                    
256                                    <div class="method-definition">
257                                                                                            <span class="method-result">void</span>
258                                                                                    <a href="#set_orderby" title="details" class="method-name">set_orderby</a>
259                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$orderby</span>)
260                                                                            </div>
261                                                                    
262                                    <div class="method-definition">
263                                                                                            <span class="method-result">void</span>
264                                                                                    <a href="#set_reverseorder" title="details" class="method-name">set_reverseorder</a>
265                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$order</span>)
266                                                                            </div>
267                                                                    
268                                    <div class="method-definition">
269                                                                                            <span class="method-result">void</span>
270                                                                                    <a href="#set_searchby" title="details" class="method-name">set_searchby</a>
271                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_col</span>)
272                                                                            </div>
273                                                                    
274                                    <div class="method-definition">
275                                                                                            <span class="method-result">void</span>
276                                                                                    <a href="#set_searchby_value" title="details" class="method-name">set_searchby_value</a>
277                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_value</span>)
278                                                                            </div>
279                                                                    
280                                    <div class="method-definition">
281                                                                                            <span class="method-result">void</span>
282                                                                                    <a href="#set_search_type" title="details" class="method-name">set_search_type</a>
283                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$search_type</span>)
284                                                                            </div>
285                                                                    
286                                    <div class="method-definition">
287                                                                                            <span class="method-result">void</span>
288                                                                                    <a href="#set_simplesearch_modifier" title="details" class="method-name">set_simplesearch_modifier</a>
289                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_modifier</span>)
290                                                                            </div>
291                                                                    
292                                    <div class="method-definition">
293                                                                                            <span class="method-result">void</span>
294                                                                                    <a href="#set_total_rows" title="details" class="method-name">set_total_rows</a>
295                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$num</span>)
296                                                                            </div>
297                                                                    
298                                    <div class="method-definition">
299                                                                                            <span class="method-result">void</span>
300                                                                                    <a href="#sort" title="details" class="method-name">sort</a>
301                                                                                    ()
302                                                                            </div>
303                                                                    
304                                    <div class="method-definition">
305                                                                                            <span class="method-result">boolean</span>
306                                                                                    <a href="#_is_column_sortable" title="details" class="method-name">_is_column_sortable</a>
307                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$data_name</span>)
308                                                                            </div>
309                                                            </div>
310                    </div>
311            </div>          
312    
313            <a name="sec-vars"></a>
314            <div class="info-box">
315                    <div class="info-box-title">Variables</div>
316                    <div class="nav-bar">
317                            <a href="#sec-description">Description</a> |
318                                                            <a href="#sec-descendents">Descendents</a> |
319                                                                                    <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
320                                                    
321                            
322                                                            |
323                                                                            <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
324                                                            
325                                            </div>
326                    <div class="info-box-body">
327                            <a name="var$_columns" id="$_columns"><!-- --></A>
328    <div class="oddrow">
329    
330            <div class="var-header">
331                    <span class="var-title">
332                            <span class="var-type">array</span>
333                            <span class="var-name">$_columns</span>
334                             = <span class="var-default">array()</span>                     (line <span class="line-number">39</span>)
335                    </span>
336            </div>
337    
338  <BR>          <!-- ========== Info from phpDoc block ========= -->
339  <SPAN CLASS="font10bold">Description : </SPAN>  <p class="short-description">The column descriptions  for the data we are working on</p>
340  This function sets the search type  (simple or advanced)          
341  <br />          
342                    
343                    
344    
345  <DL>  </div>
346          <DT class="font10bold">Function Parameters:</DT>  <a name="var$_data" id="$_data"><!-- --></A>
347                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$search_type</SPAN></SPAN> </DD>  <div class="evenrow">
348            
349          <DT class="font10bold">Function Info:</DT>          <div class="var-header">
350          </DL>                  <span class="var-title">
351  </DIV>                          <span class="var-type">mixed</span>
352  <BR>                          <span class="var-name">$_data</span>
353  <DIV CLASS="function">                           = <span class="var-default">array()</span>                     (line <span class="line-number">79</span>)
354  <A NAME='methodset_simplesearch_modifier'><!-- --></A>                  </span>
355  <SPAN CLASS="font12bold">set_simplesearch_modifier</SPAN> (line <span class="linenumber">367</span>)          </div>
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_simplesearch_modifier(  
 int  
 $search_modifier)</SPAN>  
 <BR>  
356    
357  <BR>          <!-- ========== Info from phpDoc block ========= -->
358  <SPAN CLASS="font10bold">Description : </SPAN>  <p class="short-description">A placeholder for data that is read/built  and stored locally.  Not all data sources  have to use this.</p>
359  This sets the simple search modifier  <p class="description"><p>Each entry in the array corresponds to 1 row  of data.</p></p>
360  <br />          
361            
362                    
363                    
364    
365  <DL>  </div>
366          <DT class="font10bold">Function Parameters:</DT>  <a name="var$_data_index" id="$_data_index"><!-- --></A>
367                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$search_modifier</SPAN></SPAN> offset</DD>  <div class="oddrow">
368            
369          <DT class="font10bold">Function Info:</DT>          <div class="var-header">
370          </DL>                  <span class="var-title">
371  </DIV>                          <span class="var-type">mixed</span>
372  <BR>                          <span class="var-name">$_data_index</span>
373  <DIV CLASS="function">                           = <span class="var-default"> 0</span>                  (line <span class="line-number">70</span>)
374  <A NAME='methodset_total_rows'><!-- --></A>                  </span>
375  <SPAN CLASS="font12bold">set_total_rows</SPAN> (line <span class="linenumber">251</span>)          </div>
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_total_rows(  
 int  
 $num)</SPAN>  
 <BR>  
376    
377  <BR>          <!-- ========== Info from phpDoc block ========= -->
378  <SPAN CLASS="font10bold">Description : </SPAN>  <p class="short-description">Holds the index into the array of data</p>
379  This is used to set the total # of  rows we have in our data set  <p class="description"><p>so we can keep track of where we are  when we are walking the array  (only usefull for non DB children)</p></p>
380  <br />          
381            
382                    
383                    
384    
385  <DL>  </div>
386          <DT class="font10bold">Function Parameters:</DT>  <a name="var$_not_found_message" id="$_not_found_message"><!-- --></A>
387                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$num</SPAN></SPAN> </DD>  <div class="evenrow">
388            
389          <DT class="font10bold">Function Info:</DT>          <div class="var-header">
390          </DL>                  <span class="var-title">
391  </DIV>                          <span class="var-type">mixed</span>
392  <BR>                          <span class="var-name">$_not_found_message</span>
393  <DIV CLASS="function">                           = <span class="var-default"> &quot;No data was found&quot;</span>                      (line <span class="line-number">45</span>)
394  <A NAME='methodsort'><!-- --></A>                  </span>
395  <SPAN CLASS="font12bold">sort</SPAN> (line <span class="linenumber">211</span>)          </div>
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">sort(  
 )</SPAN>  
 <BR>  
         <p>Overridden in child classes as:<br />  
                 <dl>  
         <dt><a href="../phpHtmlLib/CSVFILEDataListSource.html#methodsort">CSVFILEDataListSource::sort()</a></dt>  
                 <dd></dd>  
         </dl>  
         </p>  
396    
397  <BR>          <!-- ========== Info from phpDoc block ========= -->
398  <SPAN CLASS="font10bold">Description : </SPAN>  <p class="short-description">This is the message displayed when no data</p>
399  A generic method API that can be used at the bottom  half of the do_query() method to sort data that is  stored locally.  This is only needed when the source  is a non database.  <p class="description"><p>was retrieved from the database</p></p>
400  <br />          
401  <p>It should operate on the $this-&gt;_data array</p>          
402  <DL>                  
403                    
404    
405          <DT class="font10bold">Function Info:</DT>  </div>
406          </DL>  <a name="var$_query_params" id="$_query_params"><!-- --></A>
407  </DIV>  <div class="oddrow">
408  <BR>  
409  <DIV CLASS="function">          <div class="var-header">
410  <A NAME='method_is_column_sortable'><!-- --></A>                  <span class="var-title">
411  <SPAN CLASS="font12bold">_is_column_sortable</SPAN> (line <span class="linenumber">442</span>)                          <span class="var-type">mixed</span>
412  <BR>                          <span class="var-name">$_query_params</span>
413  <SPAN CLASS="font10bold">Usage : </SPAN>                           = <span class="var-default">array(&quot;num_total_rows&quot; =&gt; 0,<br />                                                       &quot;offset&quot; =&gt; 0,<br />                                                       &quot;limit&quot; =&gt; -1,<br />                                                       &quot;orderby&quot; =&gt; '',<br />                                                     &quot;reverseorder&quot; =&gt; '',<br />                                                        &quot;searchby&quot; =&gt; '',<br />                                                    &quot;searchvalue&quot; =&gt; '',<br />                                                         &quot;searchmodifier&quot; =&gt; '',<br />                                                      &quot;searchtype&quot; =&gt; 'simple')</span>                        (line <span class="line-number">53</span>)
414  <span class="font10bold" style="color: #FF0000">boolean</SPAN>&nbsp;                  </span>
415  <span class="font10bold" style="color: #0000FF">_is_column_sortable(          </div>
 string  
 $data_name)</SPAN>  
 <BR>  
416    
417  <BR>          <!-- ========== Info from phpDoc block ========= -->
418  <SPAN CLASS="font10bold">Description : </SPAN>  <p class="short-description">This holds various parameters relating</p>
419  This function determines if the column  associated w/ a data_name is sortable  or not  <p class="description"><p>to the query of the data</p></p>
420  <br />          
421            
422                    
423                    
424    
425  <DL>  </div>
426          <DT class="font10bold">Function Parameters:</DT>                                                  
427                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$data_name</SPAN></SPAN> - the data_name filed in the _columns array to look for</DD>                  </div>
428                    </div>
429          <DT class="font10bold">Function Info:</DT>          
430                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - is that column sortable?</DD>          <a name="sec-methods"></a>
431          </DL>          <div class="info-box">
432  </DIV>                  <div class="info-box-title">Methods</div>
433  <BR>                  <div class="nav-bar">
434          <div id="credit">                          <a href="#sec-description">Description</a> |
435                  <hr>                                                          <a href="#sec-descendents">Descendents</a> |
436                  Documention generated on Thu, 20 Feb 2003 16:22:36 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>                                                                                                                          <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
437                                                                                                                    <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
438                                                    
439                    </div>
440                    <div class="info-box-body">
441                            <A NAME='method_detail'></A>
442    <a name="methodDataListSource" id="DataListSource"><!-- --></a>
443    <div class="evenrow">
444            
445            <div class="method-header">
446                    <span class="method-title">Constructor DataListSource</span> (line <span class="line-number">85</span>)
447            </div>
448            
449            <!-- ========== Info from phpDoc block ========= -->
450    <p class="short-description">The constructor</p>
451            
452            <div class="method-signature">
453                    <span class="method-result">void</span>
454                    <span class="method-name">
455                            DataListSource
456                    </span>
457                                    ()
458                            </div>
459            
460                    
461                    
462            </div>
463    <a name="methodadd_column" id="add_column"><!-- --></a>
464    <div class="oddrow">
465            
466            <div class="method-header">
467                    <span class="method-title">add_column</span> (line <span class="line-number">108</span>)
468            </div>
469            
470            <!-- ========== Info from phpDoc block ========= -->
471    <p class="short-description">Add a column of data to manage</p>
472            
473            <div class="method-signature">
474                    <span class="method-result">void</span>
475                    <span class="method-name">
476                            add_column
477                    </span>
478                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$data_name</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$sortable</span> = <span class="var-default">FALSE</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$searchable</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$sortorder</span> = <span class="var-default">"ASC"</span>])
479                            </div>
480            
481                            <ul class="parameters">
482                                            <li>
483                                    <span class="var-type">string</span>
484                                    <span class="var-name">$title</span><span class="var-description">: <p>- the title of the column</p></span>                     </li>
485                                            <li>
486                                    <span class="var-type">string</span>
487                                    <span class="var-name">$data_name</span><span class="var-description">: <p>- the data value name</p></span>                     </li>
488                                            <li>
489                                    <span class="var-type">boolean</span>
490                                    <span class="var-name">$sortable</span><span class="var-description">: <p>- is the column sortable?                   default: FALSE</p></span>                 </li>
491                                            <li>
492                                    <span class="var-type">boolean</span>
493                                    <span class="var-name">$searchable</span><span class="var-description">: <p>- is the column searchable                   default: FALSE</p></span>                      </li>
494                                            <li>
495                                    <span class="var-type">string</span>
496                                    <span class="var-name">$sortorder</span><span class="var-description">: <p>- the sort order (ASC, DESC)                  default: ASC</p></span>                        </li>
497                                    </ul>
498                    
499                    
500            </div>
501    <a name="methoddo_prequery" id="do_prequery"><!-- --></a>
502    <div class="evenrow">
503            
504            <div class="method-header">
505                    <span class="method-title">do_prequery</span> (line <span class="line-number">197</span>)
506            </div>
507            
508            <!-- ========== Info from phpDoc block ========= -->
509    <p class="short-description">This is a method that should be defined by the  child class to do any pre-query type of things.</p>
510    <p class="description"><p>Such as building a sql query string for a DB,  or checking to make sure the file on disk exists  if the source is a file on disk.</p></p>
511            
512            <div class="method-signature">
513                    <span class="method-result">void</span>
514                    <span class="method-name">
515                            do_prequery
516                    </span>
517                                    ()
518                            </div>
519            
520                    
521                    
522                            <hr class="separator" />
523                    <div class="notes">Redefined in descendants as:</div>
524                    <ul class="redefinitions">
525                                            <li>
526                                    <a href="../phpHtmlLib/SQLDataListSource.html#methoddo_prequery">SQLDataListSource::do_prequery()</a>
527                                                            </li>
528                                            <li>
529                                    <a href="../phpHtmlLib/CSVFILEDataListSource.html#methoddo_prequery">CSVFILEDataListSource::do_prequery()</a>
530                                                                    : The prequery.  We use this to read the file
531                                                            </li>
532                                            <li>
533                                    <a href="../phpHtmlLib/ArrayDataListSource.html#methoddo_prequery">ArrayDataListSource::do_prequery()</a>
534                                                                    : This is a method that should be defined by the  child class to do any pre-query type of things.
535                                                            </li>
536                                    </ul>
537            </div>
538    <a name="methoddo_query" id="do_query"><!-- --></a>
539    <div class="oddrow">
540            
541            <div class="method-header">
542                    <span class="method-title">do_query</span> (line <span class="line-number">212</span>)
543            </div>
544            
545            <!-- ========== Info from phpDoc block ========= -->
546    <p class="short-description">This is the function that does the data fetching,  and sorting if needed.</p>
547    <p class="description"><p>If the source is a sql database, this is where the  query gets called.  This function doesn't actually read the  data from the DB yet.  That is what get_next_data_row()  does.</p></p>
548            <ul class="tags">
549                                    <li><span class="field">return:</span> <p>- the query passed/failed.</p></li>
550                            </ul>
551            
552            <div class="method-signature">
553                    <span class="method-result">boolean</span>
554                    <span class="method-name">
555                            do_query
556                    </span>
557                                    ()
558                            </div>
559            
560                    
561                    
562                            <hr class="separator" />
563                    <div class="notes">Redefined in descendants as:</div>
564                    <ul class="redefinitions">
565                                            <li>
566                                    <a href="../phpHtmlLib/SQLDataListSource.html#methoddo_query">SQLDataListSource::do_query()</a>
567                                                                    : Do the query to the DB and pull in all of  the records locally.
568                                                            </li>
569                                            <li>
570                                    <a href="../phpHtmlLib/PEARSQLDataListSource.html#methoddo_query">PEARSQLDataListSource::do_query()</a>
571                                                                    : This is the function that does the data fetching,  and sorting if needed.
572                                                            </li>
573                                            <li>
574                                    <a href="../phpHtmlLib/ADODBSQLDataListSource.html#methoddo_query">ADODBSQLDataListSource::do_query()</a>
575                                                                    : This is the function that does the data fetching,  and sorting if needed.
576                                                            </li>
577                                            <li>
578                                    <a href="../phpHtmlLib/PGSQLDataListSource.html#methoddo_query">PGSQLDataListSource::do_query()</a>
579                                                            </li>
580                                            <li>
581                                    <a href="../phpHtmlLib/CSVFILEDataListSource.html#methoddo_query">CSVFILEDataListSource::do_query()</a>
582                                                                    : This function does the query
583                                                            </li>
584                                            <li>
585                                    <a href="../phpHtmlLib/ArrayDataListSource.html#methoddo_query">ArrayDataListSource::do_query()</a>
586                                                                    : This function does the query
587                                                            </li>
588                                    </ul>
589            </div>
590    <a name="methodget_data_index" id="get_data_index"><!-- --></a>
591    <div class="evenrow">
592            
593            <div class="method-header">
594                    <span class="method-title">get_data_index</span> (line <span class="line-number">442</span>)
595            </div>
596            
597            <!-- ========== Info from phpDoc block ========= -->
598    <p class="short-description">This function returns the  data_index value and increments it</p>
599            
600            <div class="method-signature">
601                    <span class="method-result">int</span>
602                    <span class="method-name">
603                            get_data_index
604                    </span>
605                                    ()
606                            </div>
607            
608                    
609                    
610                            <hr class="separator" />
611                    <div class="notes">Redefined in descendants as:</div>
612                    <ul class="redefinitions">
613                                            <li>
614                                    <a href="../phpHtmlLib/ArrayDataListSource.html#methodget_data_index">ArrayDataListSource::get_data_index()</a>
615                                                                    : This function returns the  data_index value and increments it
616                                                            </li>
617                                    </ul>
618            </div>
619    <a name="methodget_limit" id="get_limit"><!-- --></a>
620    <div class="oddrow">
621            
622            <div class="method-header">
623                    <span class="method-title">get_limit</span> (line <span class="line-number">411</span>)
624            </div>
625            
626            <!-- ========== Info from phpDoc block ========= -->
627    <p class="short-description">This function gets the current  value of the limit value</p>
628            
629            <div class="method-signature">
630                    <span class="method-result">int</span>
631                    <span class="method-name">
632                            get_limit
633                    </span>
634                                    ()
635                            </div>
636            
637                    
638                    
639            </div>
640    <a name="methodget_next_data_row" id="get_next_data_row"><!-- --></a>
641    <div class="evenrow">
642            
643            <div class="method-header">
644                    <span class="method-title">get_next_data_row</span> (line <span class="line-number">173</span>)
645            </div>
646            
647            <!-- ========== Info from phpDoc block ========= -->
648    <p class="short-description">This function gets the next data row  from the query()</p>
649            
650            <div class="method-signature">
651                    <span class="method-result">array()</span>
652                    <span class="method-name">
653                            get_next_data_row
654                    </span>
655                                    ()
656                            </div>
657            
658                    
659                    
660                            <hr class="separator" />
661                    <div class="notes">Redefined in descendants as:</div>
662                    <ul class="redefinitions">
663                                            <li>
664                                    <a href="../phpHtmlLib/SQLDataListSource.html#methodget_next_data_row">SQLDataListSource::get_next_data_row()</a>
665                                                                    : This function gets the next data row  from the query()
666                                                            </li>
667                                            <li>
668                                    <a href="../phpHtmlLib/PEARSQLDataListSource.html#methodget_next_data_row">PEARSQLDataListSource::get_next_data_row()</a>
669                                                                    : This function gets the next data row  from the query()
670                                                            </li>
671                                            <li>
672                                    <a href="../phpHtmlLib/ADODBSQLDataListSource.html#methodget_next_data_row">ADODBSQLDataListSource::get_next_data_row()</a>
673                                                                    : This function gets the next data row  from the query()
674                                                            </li>
675                                            <li>
676                                    <a href="../phpHtmlLib/PGSQLDataListSource.html#methodget_next_data_row">PGSQLDataListSource::get_next_data_row()</a>
677                                                                    : This function gets the next data row  from the query()
678                                                            </li>
679                                            <li>
680                                    <a href="../phpHtmlLib/CSVFILEDataListSource.html#methodget_next_data_row">CSVFILEDataListSource::get_next_data_row()</a>
681                                                                    : This function returns the next row of  valid data.
682                                                            </li>
683                                            <li>
684                                    <a href="../phpHtmlLib/ArrayDataListSource.html#methodget_next_data_row">ArrayDataListSource::get_next_data_row()</a>
685                                                                    : This function returns the next row of  valid data.
686                                                            </li>
687                                    </ul>
688            </div>
689    <a name="methodget_not_found_message" id="get_not_found_message"><!-- --></a>
690    <div class="oddrow">
691            
692            <div class="method-header">
693                    <span class="method-title">get_not_found_message</span> (line <span class="line-number">245</span>)
694            </div>
695            
696            <!-- ========== Info from phpDoc block ========= -->
697    <p class="short-description">This function is used to get the  message displayed when no data is found</p>
698            
699            <div class="method-signature">
700                    <span class="method-result">string</span>
701                    <span class="method-name">
702                            get_not_found_message
703                    </span>
704                                    ()
705                            </div>
706            
707                    
708                    
709          </div>          </div>
710  </body>  <a name="methodget_offset" id="get_offset"><!-- --></a>
711    <div class="evenrow">
712            
713            <div class="method-header">
714                    <span class="method-title">get_offset</span> (line <span class="line-number">288</span>)
715            </div>
716            
717            <!-- ========== Info from phpDoc block ========= -->
718    <p class="short-description">This function returns the value of the  offset</p>
719            
720            <div class="method-signature">
721                    <span class="method-result">int</span>
722                    <span class="method-name">
723                            get_offset
724                    </span>
725                                    ()
726                            </div>
727            
728                    
729                    
730            </div>
731    <a name="methodget_orderby" id="get_orderby"><!-- --></a>
732    <div class="oddrow">
733            
734            <div class="method-header">
735                    <span class="method-title">get_orderby</span> (line <span class="line-number">310</span>)
736            </div>
737            
738            <!-- ========== Info from phpDoc block ========= -->
739    <p class="short-description">This function returns the value of the  orderby</p>
740            
741            <div class="method-signature">
742                    <span class="method-result">int</span>
743                    <span class="method-name">
744                            get_orderby
745                    </span>
746                                    ()
747                            </div>
748            
749                    
750                    
751            </div>
752    <a name="methodget_reverseorder" id="get_reverseorder"><!-- --></a>
753    <div class="evenrow">
754            
755            <div class="method-header">
756                    <span class="method-title">get_reverseorder</span> (line <span class="line-number">331</span>)
757            </div>
758            
759            <!-- ========== Info from phpDoc block ========= -->
760    <p class="short-description">This function returns the value of the  reverseorder</p>
761            
762            <div class="method-signature">
763                    <span class="method-result">int</span>
764                    <span class="method-name">
765                            get_reverseorder
766                    </span>
767                                    ()
768                            </div>
769            
770                    
771                    
772            </div>
773    <a name="methodget_searchby" id="get_searchby"><!-- --></a>
774    <div class="oddrow">
775            
776            <div class="method-header">
777                    <span class="method-title">get_searchby</span> (line <span class="line-number">351</span>)
778            </div>
779            
780            <!-- ========== Info from phpDoc block ========= -->
781    <p class="short-description">This function returns the value of the  searchby</p>
782            
783            <div class="method-signature">
784                    <span class="method-result">int</span>
785                    <span class="method-name">
786                            get_searchby
787                    </span>
788                                    ()
789                            </div>
790            
791                    
792                    
793            </div>
794    <a name="methodget_searchby_value" id="get_searchby_value"><!-- --></a>
795    <div class="evenrow">
796            
797            <div class="method-header">
798                    <span class="method-title">get_searchby_value</span> (line <span class="line-number">371</span>)
799            </div>
800            
801            <!-- ========== Info from phpDoc block ========= -->
802    <p class="short-description">This function returns the value of the  search value</p>
803            
804            <div class="method-signature">
805                    <span class="method-result">int</span>
806                    <span class="method-name">
807                            get_searchby_value
808                    </span>
809                                    ()
810                            </div>
811            
812                    
813                    
814            </div>
815    <a name="methodget_search_type" id="get_search_type"><!-- --></a>
816    <div class="oddrow">
817            
818            <div class="method-header">
819                    <span class="method-title">get_search_type</span> (line <span class="line-number">432</span>)
820            </div>
821            
822            <!-- ========== Info from phpDoc block ========= -->
823    <p class="short-description">this function returns the current search type  for the DataList query</p>
824            
825            <div class="method-signature">
826                    <span class="method-result">string</span>
827                    <span class="method-name">
828                            get_search_type
829                    </span>
830                                    ()
831                            </div>
832            
833                    
834                    
835            </div>
836    <a name="methodget_simplesearch_modifier" id="get_simplesearch_modifier"><!-- --></a>
837    <div class="evenrow">
838            
839            <div class="method-header">
840                    <span class="method-title">get_simplesearch_modifier</span> (line <span class="line-number">391</span>)
841            </div>
842            
843            <!-- ========== Info from phpDoc block ========= -->
844    <p class="short-description">This function returns the value of the  search value</p>
845            
846            <div class="method-signature">
847                    <span class="method-result">int</span>
848                    <span class="method-name">
849                            get_simplesearch_modifier
850                    </span>
851                                    ()
852                            </div>
853            
854                    
855                    
856            </div>
857    <a name="methodget_total_rows" id="get_total_rows"><!-- --></a>
858    <div class="oddrow">
859            
860            <div class="method-header">
861                    <span class="method-title">get_total_rows</span> (line <span class="line-number">255</span>)
862            </div>
863            
864            <!-- ========== Info from phpDoc block ========= -->
865    <p class="short-description">This returns the total number of rows  in our entire data set</p>
866            
867            <div class="method-signature">
868                    <span class="method-result">int</span>
869                    <span class="method-name">
870                            get_total_rows
871                    </span>
872                                    ()
873                            </div>
874            
875                    
876                    
877            </div>
878    <a name="methodquery" id="query"><!-- --></a>
879    <div class="evenrow">
880            
881            <div class="method-header">
882                    <span class="method-title">query</span> (line <span class="line-number">139</span>)
883            </div>
884            
885            <!-- ========== Info from phpDoc block ========= -->
886    <p class="short-description">The main Query function.</p>
887    <p class="description"><p>This function is responsible for doing  any data prefetching from a db,file  and doing any sorting and searching  on it depending on the values passed  in from the DataList object</p></p>
888            
889            <div class="method-signature">
890                    <span class="method-result">void</span>
891                    <span class="method-name">
892                            query
893                    </span>
894                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$limit</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$orderby</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$reverseorder</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchby</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchby_value</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$simplesearch_modifier</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$search_type</span>)
895                            </div>
896            
897                            <ul class="parameters">
898                                            <li>
899                                    <span class="var-type">int</span>
900                                    <span class="var-name">$offset</span><span class="var-description">: <p>- the offset into the data set</p></span>                       </li>
901                                            <li>
902                                    <span class="var-type">int</span>
903                                    <span class="var-name">$limit</span><span class="var-description">: <p>- the # of rows to get</p></span>                        </li>
904                                            <li>
905                                    <span class="var-type">string</span>
906                                    <span class="var-name">$orderby</span><span class="var-description">: <p>- the column to order the data by</p></span>                   </li>
907                                            <li>
908                                    <span class="var-type">string</span>
909                                    <span class="var-name">$reverseorder</span><span class="var-description">: <p>- order in asc or reverse?</p></span>                     </li>
910                                            <li>
911                                    <span class="var-type">string</span>
912                                    <span class="var-name">$searchby</span><span class="var-description">: <p>- the column in the dataset                  to search by</p></span>                  </li>
913                                            <li>
914                                    <span class="var-type">string</span>
915                                    <span class="var-name">$searchby_value</span><span class="var-description">: <p>- the value to look for</p></span>                      </li>
916                                            <li>
917                                    <span class="var-type">string</span>
918                                    <span class="var-name">$simplesearch_modifier</span><span class="var-description">: <p>- the simple search modifier.</p></span>                 </li>
919                                    </ul>
920                    
921                    
922            </div>
923    <a name="methodrow_filter" id="row_filter"><!-- --></a>
924    <div class="oddrow">
925            
926            <div class="method-header">
927                    <span class="method-title">row_filter</span> (line <span class="line-number">184</span>)
928            </div>
929            
930            <!-- ========== Info from phpDoc block ========= -->
931    <p class="short-description">This is called by the DataList object to allow  us a chance to run the next row through a filter</p>
932            <ul class="tags">
933                                    <li><span class="field">return:</span> <p>- TRUE = allow the row. FALSE = drop it.</p></li>
934                            </ul>
935            
936            <div class="method-signature">
937                    <span class="method-result">boolean</span>
938                    <span class="method-name">
939                            row_filter
940                    </span>
941                                            (<span class="var-type">array</span>&nbsp;<span class="var-name">&$row_data</span>)
942                            </div>
943            
944                            <ul class="parameters">
945                                            <li>
946                                    <span class="var-type">array</span>
947                                    <span class="var-name">&$row_data</span><span class="var-description">: <p>- the row to run through the filter</p></span>                       </li>
948                                    </ul>
949                    
950                    
951            </div>
952    <a name="methodset_limit" id="set_limit"><!-- --></a>
953    <div class="evenrow">
954            
955            <div class="method-header">
956                    <span class="method-title">set_limit</span> (line <span class="line-number">401</span>)
957            </div>
958            
959            <!-- ========== Info from phpDoc block ========= -->
960    <p class="short-description">This function is used to set</p>
961    <p class="description"><p>the limit value, which limits  the # of rows of data to allow  to return</p></p>
962            
963            <div class="method-signature">
964                    <span class="method-result">void</span>
965                    <span class="method-name">
966                            set_limit
967                    </span>
968                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$limit</span>)
969                            </div>
970            
971                    
972                    
973            </div>
974    <a name="methodset_not_found_message" id="set_not_found_message"><!-- --></a>
975    <div class="oddrow">
976            
977            <div class="method-header">
978                    <span class="method-title">set_not_found_message</span> (line <span class="line-number">235</span>)
979            </div>
980            
981            <!-- ========== Info from phpDoc block ========= -->
982    <p class="short-description">This function is used to set the  message displayed when no data is found</p>
983            
984            <div class="method-signature">
985                    <span class="method-result">void</span>
986                    <span class="method-name">
987                            set_not_found_message
988                    </span>
989                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$mesg</span>)
990                            </div>
991            
992                            <ul class="parameters">
993                                            <li>
994                                    <span class="var-type">string</span>
995                                    <span class="var-name">$mesg</span>                     </li>
996                                    </ul>
997                    
998                    
999            </div>
1000    <a name="methodset_offset" id="set_offset"><!-- --></a>
1001    <div class="evenrow">
1002            
1003            <div class="method-header">
1004                    <span class="method-title">set_offset</span> (line <span class="line-number">277</span>)
1005            </div>
1006            
1007            <!-- ========== Info from phpDoc block ========= -->
1008    <p class="short-description">This sets the offset value  and resets the index into the data  array (in non DB children)</p>
1009            
1010            <div class="method-signature">
1011                    <span class="method-result">void</span>
1012                    <span class="method-name">
1013                            set_offset
1014                    </span>
1015                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$offset</span>)
1016                            </div>
1017            
1018                            <ul class="parameters">
1019                                            <li>
1020                                    <span class="var-type">int</span>
1021                                    <span class="var-name">$offset</span><span class="var-description">: <p>offset</p></span>                       </li>
1022                                    </ul>
1023                    
1024                    
1025            </div>
1026    <a name="methodset_orderby" id="set_orderby"><!-- --></a>
1027    <div class="oddrow">
1028            
1029            <div class="method-header">
1030                    <span class="method-title">set_orderby</span> (line <span class="line-number">300</span>)
1031            </div>
1032            
1033            <!-- ========== Info from phpDoc block ========= -->
1034    <p class="short-description">This sets the orderby column name.</p>
1035    <p class="description"><p>This corresponds to the column  that wants to be sorted/ordered, but  not the actual direction (asc, desc)</p></p>
1036            
1037            <div class="method-signature">
1038                    <span class="method-result">void</span>
1039                    <span class="method-name">
1040                            set_orderby
1041                    </span>
1042                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$orderby</span>)
1043                            </div>
1044            
1045                            <ul class="parameters">
1046                                            <li>
1047                                    <span class="var-type">int</span>
1048                                    <span class="var-name">$orderby</span><span class="var-description">: <p>offset</p></span>                      </li>
1049                                    </ul>
1050                    
1051                    
1052            </div>
1053    <a name="methodset_reverseorder" id="set_reverseorder"><!-- --></a>
1054    <div class="evenrow">
1055            
1056            <div class="method-header">
1057                    <span class="method-title">set_reverseorder</span> (line <span class="line-number">321</span>)
1058            </div>
1059            
1060            <!-- ========== Info from phpDoc block ========= -->
1061    <p class="short-description">This sets the flag that tells us the  direction in which to order the orderby  column.</p>
1062            
1063            <div class="method-signature">
1064                    <span class="method-result">void</span>
1065                    <span class="method-name">
1066                            set_reverseorder
1067                    </span>
1068                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$order</span>)
1069                            </div>
1070            
1071                            <ul class="parameters">
1072                                            <li>
1073                                    <span class="var-type">int</span>
1074                                    <span class="var-name">$order</span><span class="var-description">: <p>offset</p></span>                        </li>
1075                                    </ul>
1076                    
1077                    
1078            </div>
1079    <a name="methodset_searchby" id="set_searchby"><!-- --></a>
1080    <div class="oddrow">
1081            
1082            <div class="method-header">
1083                    <span class="method-title">set_searchby</span> (line <span class="line-number">341</span>)
1084            </div>
1085            
1086            <!-- ========== Info from phpDoc block ========= -->
1087    <p class="short-description">This sets the column that we want to search  from.</p>
1088            
1089            <div class="method-signature">
1090                    <span class="method-result">void</span>
1091                    <span class="method-name">
1092                            set_searchby
1093                    </span>
1094                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_col</span>)
1095                            </div>
1096            
1097                            <ul class="parameters">
1098                                            <li>
1099                                    <span class="var-type">int</span>
1100                                    <span class="var-name">$search_col</span><span class="var-description">: <p>offset</p></span>                   </li>
1101                                    </ul>
1102                    
1103                    
1104            </div>
1105    <a name="methodset_searchby_value" id="set_searchby_value"><!-- --></a>
1106    <div class="evenrow">
1107            
1108            <div class="method-header">
1109                    <span class="method-title">set_searchby_value</span> (line <span class="line-number">361</span>)
1110            </div>
1111            
1112            <!-- ========== Info from phpDoc block ========= -->
1113    <p class="short-description">This sets the data that we want to search  for.</p>
1114            
1115            <div class="method-signature">
1116                    <span class="method-result">void</span>
1117                    <span class="method-name">
1118                            set_searchby_value
1119                    </span>
1120                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_value</span>)
1121                            </div>
1122            
1123                            <ul class="parameters">
1124                                            <li>
1125                                    <span class="var-type">int</span>
1126                                    <span class="var-name">$search_value</span><span class="var-description">: <p>offset</p></span>                 </li>
1127                                    </ul>
1128                    
1129                    
1130            </div>
1131    <a name="methodset_search_type" id="set_search_type"><!-- --></a>
1132    <div class="oddrow">
1133            
1134            <div class="method-header">
1135                    <span class="method-title">set_search_type</span> (line <span class="line-number">422</span>)
1136            </div>
1137            
1138            <!-- ========== Info from phpDoc block ========= -->
1139    <p class="short-description">This function sets the search type  (simple or advanced)</p>
1140            
1141            <div class="method-signature">
1142                    <span class="method-result">void</span>
1143                    <span class="method-name">
1144                            set_search_type
1145                    </span>
1146                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$search_type</span>)
1147                            </div>
1148            
1149                            <ul class="parameters">
1150                                            <li>
1151                                    <span class="var-type">string</span>
1152                                    <span class="var-name">$search_type</span>                      </li>
1153                                    </ul>
1154                    
1155                    
1156            </div>
1157    <a name="methodset_simplesearch_modifier" id="set_simplesearch_modifier"><!-- --></a>
1158    <div class="evenrow">
1159            
1160            <div class="method-header">
1161                    <span class="method-title">set_simplesearch_modifier</span> (line <span class="line-number">381</span>)
1162            </div>
1163            
1164            <!-- ========== Info from phpDoc block ========= -->
1165    <p class="short-description">This sets the simple search modifier</p>
1166            
1167            <div class="method-signature">
1168                    <span class="method-result">void</span>
1169                    <span class="method-name">
1170                            set_simplesearch_modifier
1171                    </span>
1172                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$search_modifier</span>)
1173                            </div>
1174            
1175                            <ul class="parameters">
1176                                            <li>
1177                                    <span class="var-type">int</span>
1178                                    <span class="var-name">$search_modifier</span><span class="var-description">: <p>offset</p></span>                      </li>
1179                                    </ul>
1180                    
1181                    
1182            </div>
1183    <a name="methodset_total_rows" id="set_total_rows"><!-- --></a>
1184    <div class="oddrow">
1185            
1186            <div class="method-header">
1187                    <span class="method-title">set_total_rows</span> (line <span class="line-number">265</span>)
1188            </div>
1189            
1190            <!-- ========== Info from phpDoc block ========= -->
1191    <p class="short-description">This is used to set the total # of  rows we have in our data set</p>
1192            
1193            <div class="method-signature">
1194                    <span class="method-result">void</span>
1195                    <span class="method-name">
1196                            set_total_rows
1197                    </span>
1198                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$num</span>)
1199                            </div>
1200            
1201                            <ul class="parameters">
1202                                            <li>
1203                                    <span class="var-type">int</span>
1204                                    <span class="var-name">$num</span>                      </li>
1205                                    </ul>
1206                    
1207                    
1208            </div>
1209    <a name="methodsort" id="sort"><!-- --></a>
1210    <div class="evenrow">
1211            
1212            <div class="method-header">
1213                    <span class="method-title">sort</span> (line <span class="line-number">225</span>)
1214            </div>
1215            
1216            <!-- ========== Info from phpDoc block ========= -->
1217    <p class="short-description">A generic method API that can be used at the bottom  half of the do_query() method to sort data that is  stored locally.  This is only needed when the source  is a non database.</p>
1218    <p class="description"><p>It should operate on the $this-&gt;_data array</p></p>
1219            
1220            <div class="method-signature">
1221                    <span class="method-result">void</span>
1222                    <span class="method-name">
1223                            sort
1224                    </span>
1225                                    ()
1226                            </div>
1227            
1228                    
1229                    
1230                            <hr class="separator" />
1231                    <div class="notes">Redefined in descendants as:</div>
1232                    <ul class="redefinitions">
1233                                            <li>
1234                                    <a href="../phpHtmlLib/CSVFILEDataListSource.html#methodsort">CSVFILEDataListSource::sort()</a>
1235                                                            </li>
1236                                            <li>
1237                                    <a href="../phpHtmlLib/ArrayDataListSource.html#methodsort">ArrayDataListSource::sort()</a>
1238                                                            </li>
1239                                    </ul>
1240            </div>
1241    <a name="method_is_column_sortable" id="_is_column_sortable"><!-- --></a>
1242    <div class="oddrow">
1243            
1244            <div class="method-header">
1245                    <span class="method-title">_is_column_sortable</span> (line <span class="line-number">456</span>)
1246            </div>
1247            
1248            <!-- ========== Info from phpDoc block ========= -->
1249    <p class="short-description">This function determines if the column  associated w/ a data_name is sortable  or not</p>
1250            <ul class="tags">
1251                                    <li><span class="field">return:</span> <p>- is that column sortable?</p></li>
1252                            </ul>
1253            
1254            <div class="method-signature">
1255                    <span class="method-result">boolean</span>
1256                    <span class="method-name">
1257                            _is_column_sortable
1258                    </span>
1259                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$data_name</span>)
1260                            </div>
1261            
1262                            <ul class="parameters">
1263                                            <li>
1264                                    <span class="var-type">string</span>
1265                                    <span class="var-name">$data_name</span><span class="var-description">: <p>- the data_name filed in the                  _columns array to look for</p></span>                  </li>
1266                                    </ul>
1267                    
1268                    
1269            </div>
1270                                                    
1271                    </div>
1272            </div>
1273            
1274            <p class="notes" id="credit">
1275                    Documention generated on Thu, 31 Jul 2003 18:32:23 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a>
1276            </p>
1277            </div></body>
1278  </html>  </html>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed