AdobeConnectClient\Filter
Create valid filters using Fluent Interface
See
Synopsis
class Filter
implements
ArrayableInterface
{
- // methods
- public static Filter instance()
- public Filter equals()
- public Filter like()
- public Filter out()
- public Filter rows()
- public Filter start()
- public Filter dateAfter()
- public Filter dateBefore()
- public Filter isMember()
- public Filter removeField()
- public array toArray()
- protected void setFilter()
Hierarchy
Implements
Coverage
Methods | 0% | 0 / 12 |
Lines | 0% | / |
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
109 | BooleanArgumentFlag | The method dateAfter has a boolean flag argument $inclusive, which is a certain sign of a Single Responsibility Principle violation. |
127 | BooleanArgumentFlag | The method dateBefore has a boolean flag argument $inclusive, which is a certain sign of a Single Responsibility Principle violation. |
157 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'removeField'. |
193 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'setFilter'. |
195 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\ValueTransform' in method 'setFilter'. |
Members
protected
- $filters — array
- $prefix
—
string
Prefix to use in filters to indicate it's filter
Methods
protected
- setFilter() — Set the Filter.
public
- dateAfter() — Selects all items with a date after.
- dateBefore() — Selects all items with a date earlier
- equals() — Returns if exactly matches.
- instance() — Return a new Filter instance
- isMember() — Selects all principals that are members of a group, specified in a separate parameter.
- like() — Returns even if is not an exact match.
- out() — Filters out or excludes.
- removeField() — Remove all filters using the Field
- rows() — Limits the results to the number of rows specified.
- start() — Starts the results at the index number specified.
- toArray() — Retrieves all not null attributes in an associative array