public isUniqueValue ( string $strField, mixed $varNew, integer $intId = null ) : boolean | ||
$strField | string | The attribute name. |
$varNew | mixed | The value that shall be checked. |
$intId | integer | The (optional) id of the item currently in scope - pass null for new items. |
return | boolean | True if the values is not yet contained within the table, false otherwise. |