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

Class: GreaterSearch

Source Location: /_includes/lib_search.php

Class Overview

SearchField
   |
   --GreaterSearch

Describes a search field that searches for things that are greater than 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 477]
Describes a search field that searches for things that are greater than the parameter.



Tags:

author:  Andreas Launila


[ Top ]


Class Methods


constructor __construct [line 483]

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

Constructor for GreaterSearch.



Tags:

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


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

[ Top ]

method getSqlWhereCondition [line 490]

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 Tue, 10 Jan 2006 17:06:36 +0100 by phpDocumentor 1.3.0RC4