com.lokorin.lokorin.lib
[ class tree: com.lokorin.lokorin.lib ] [ index: com.lokorin.lokorin.lib ] [ all elements ]

Class: LesserEqualSearch

Source Location: /_includes/lib_search.php

Class Overview

SearchField
   |
   --LesserEqualSearch

Describes a search field that searches for things that are lesser than or equal to the parameter.


Author(s):

  • Andreas Launila

Methods


Inherited Variables

Inherited Methods

Class: SearchField

SearchField::__construct()
Constructor for SearchField.
SearchField::getRequestName()
Gets the name of the table field that the search field is connected to.
SearchField::getSqlWhereCondition()
Gets the where condition of the search field. This should be a sql statement that can be placed after "WHERE" in the sql query. A couple of examples: "id > 5", "(solved = 1) AND (tested = 0)".
SearchField::isValid()
Checks if the search field is valid, meaning if it has has caugth a non empty parameter.
SearchField::setParameter()
Sets the parameter for the search done by the field to a new value.

Class Details

[line 530]
Describes a search field that searches for things that are lesser than or equal to the parameter.



Tags:

author:  Andreas Launila


[ Top ]


Class Methods


constructor __construct [line 535]

LesserEqualSearch __construct( mixed $requestName, mixed $tableField, [mixed $processCallback = ''])

Constructor for LesserSearch.



Tags:

access:  public
see:  SearchField.searchField($requestName, SearchField::$tableField, $processCallback = '')


Overrides SearchField::__construct() (Constructor for SearchField.)

[ Top ]

method getSqlWhereCondition [line 542]

void getSqlWhereCondition( )



Tags:

access:  public
see:  SearchField.getSqlWhereCondition()


Overrides SearchField::getSqlWhereCondition() (Gets the where condition of the search field. This should be a sql statement that can be placed after "WHERE" in the sql query. A couple of examples: "id > 5", "(solved = 1) AND (tested = 0)".)

[ Top ]


Documentation generated on Sun, 16 Apr 2006 21:03:54 +0200 by phpDocumentor 1.3.0RC4