ICanBoogie/Facets v0.3.1
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Facets
      • RecordCollection

Classes

  • BooleanCriterion
  • Criterion
  • CriterionList
  • CriterionNotDefined
  • CriterionValue
  • Fetcher
  • IntervalCriterionValue
  • QueryString
  • QueryStringWord
  • RecordCollection
  • SetCriterionValue

Interfaces

  • CriterionInterface
  • FetcherInterface

Traits

  • CriterionTrait
  • FetcherTrait
  • HumanizePairsTrait
  • ParseQueryStringTrait

Class SetCriterionValue

Representation of a set of values, suitable for the SQL IN() function.

A set of values is created by concatenating values with the pipe sign ("|") e.g. "1|2|3".

ICanBoogie\Facets\SetCriterionValue implements ICanBoogie\ToArray, Countable
Namespace: ICanBoogie\Facets
Located at SetCriterionValue.php

Methods summary

public static ICanBoogie\Facets\SetCriterionValue|null
# from( mixed $value )

Instantiate a ICanBoogie\Facets\SetCriterionValue instance from a value.

Instantiate a ICanBoogie\Facets\SetCriterionValue instance from a value.

Parameters

$value

Returns

ICanBoogie\Facets\SetCriterionValue|null
public
# __construct( array $set )
public string
# __toString( )

Formats the set into a string.

Formats the set into a string.

Returns

string
public integer
# count( )

Returns the number of members in the set.

Returns the number of members in the set.

Returns

integer

Implementation of

Countable::count()
public array
# to_array( )

Returns the set as an array.

Returns the set as an array.

Returns

array

Constants summary

string SEPARATOR
# '|'

Properties summary

protected $set
#
ICanBoogie/Facets v0.3.1 API documentation generated by ApiGen