PHP Class Nag_Search, horde
Copyright 2001-2016 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (BSD). If you did not
did not receive this file, see http://www.horde.org/licenses/bsdl.php.
ファイルを表示
Open project: horde/horde
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method Details
__construct()
public method
public __construct ( string $search, integer $mask, array $options = [] ) : Nag_Search |
$search |
string |
The search string. |
$mask |
integer |
A bitmask to indicate the fields to search. |
$options |
array |
Additional options:
- completed: (integer) Which tasks to include. A NAG::VIEW_* constant.
DEFAULT: Nag::VIEW_INCOMPLETE
- due: (array) An array describing the due date portion of the search.
EXAMPLE: array('5', 'tomorrow') would be all tasks due within 5
days of tomorrow.
DEFAULT: No date filters.
- tags: (array) An array of tags to filter on.
- tasklists: (array) An array of tasklist ids to filter on.
DEFAULT: The current display_tasklists value is used. |
return |
Nag_Search |
|
_search()
protected method
Populate a Horde_Variables instance with the search values for this
search.
public getVars ( Horde_Variables &$vars ) |
$vars |
Horde_Variables |
The Horde_Variables object. |
serialize()
public method
unserialize()
public method
Property Details
$_completed protected_oe property
The completed/view value.
protected int $_completed |
return |
integer |
|
$_due protected_oe property
protected array $_due |
return |
array |
|
$_mask protected_oe property
protected int $_mask |
return |
integer |
|
$_search protected_oe property
protected array $_search |
return |
array |
|
$_tasklists protected_oe property
The tasks lists to search.
protected array $_tasklists |
return |
array |
|