METADATA
in package
METADATA
Common methods for metadata
Table of Contents
Methods
- __construct() : mixed
- METADATA
- setCondition() : bool
- set user/group ID conditions
Methods
__construct()
METADATA
public
__construct() : mixed
setCondition()
set user/group ID conditions
public
setCondition([string $type = false ][, bool $returnString = false ][, bool $readOnly = false ][, bool $useSearchTable = false ]) : bool
Parameters
- $type : string = false
-
One of 'm', 'qc', 'pc' for musings, quote comments, paraphrase comments. If FALSE (default), all are returned
- $returnString : bool = false
-
Execute condition (FALSE) or return the condition string (TRUE). Default is FALSE
- $readOnly : bool = false
-
Create condition (TRUE) for read-only if no userId found in sessions. Default is FALSE (no condition created).
- $useSearchTable : bool = false
-
Use search_metadata table (for quicksearch and advanced search). Default is FALSE (use resource_metadata table)