Omeka_Filter_ForeignKey
Package: Filter
- class Omeka_Filter_ForeignKey
implements Zend_Filter_Interface
Converts input into values suitable for use as Omeka ‘id’ key values.
- Omeka_Filter_ForeignKey::filter($value)
Convert any value into an unsigned integer that would be valid if stored as a foreign key in a database table.
This will return null for any value that falls outside the range of an unsigned integer (string, negative numbers, etc.)
- Parameters:
$value (
mixed
) – Input value.- Returns:
int