Previous Page
_setup()

Solar_Filter
addChainFilter()

Next Page
addChainFilters()

addChainFilter()

public void addChainFilter ( string $key, string|array $spec )

Adds one filter-chain method for a data key.

Parameters

  • (string) $key: The data key.
  • (string|array) $spec: The filter specification. If a string, it's just a method name. If an array, the first element is a method name, and all remaining elements are parameters to that method.

Returns

  • (void)

Description

Adds one filter-chain method for a data key.

See Also