PHP 클래스 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.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 상세
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. |
리턴 |
Nag_Search |
|
Populate a Horde_Variables instance with the search values for this
search.
public getVars ( Horde_Variables &$vars ) |
$vars |
Horde_Variables |
The Horde_Variables object. |
프로퍼티 상세
The completed/view value.
protected int $_completed |
리턴 |
integer |
|
protected array $_due |
리턴 |
array |
|
protected array $_search |
리턴 |
array |
|
The tasks lists to search.
protected array $_tasklists |
리턴 |
array |
|