category OSS
package OSS_Validate
copyright Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland
license New BSD License

 Methods

Constructor

__construct($params) : void

$table and $column are required parameters.

Parameters

$params

Exceptions

\OSS_Validate_Exception

Getter method for $_table

getEntity() : string

Returns

string

Getter method for $_column

getProperty() : string

Returns

string

Defined by Zend_Validate_Interface

isValid(string $value) 

Returns true if and only if $value is unique

retrun bool

Parameters

$value

string

Exceptions

\Doctrine_Exception

Setter method for $_entity

setEntity(\$e $e) : void

Parameters

$e

\$e

The entity to set

Setter method for $_property

setProperty(\$p $p) : void

Parameters

$p

\$p

The property to set

 Properties

 

The database to use

$_database : string
 

The entity to use

$_entity : string
 

Error message templates

$_messageTemplates : array
 

The entity property to use

$_property : string

 Constants

 

NOT_UNIQUE

NOT_UNIQUE 
 

NO_ENTITY

NO_ENTITY 
 

NO_ENTMGR

NO_ENTMGR 
 

NO_PROPERTY

NO_PROPERTY