\TriTan\InterfacesSanitizerInterface

Summary

Methods
Constants
items()
item()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

items()

items(array  $items, string  $context = 'save') 

Sanitizes an array of items.

Parameters

array $items

Items to sanitize.

string $context

The context for which the string is being sanitized.

item()

item(mixed  $item, string  $type = 'string', string  $context = 'save') 

Sanitizes an item according to type.

Parameters

mixed $item

Item to sanitize.

string $type

Item type (i.e. string, float, int, etc.).

string $context

The context for which the string is being sanitized.