uniqueInformation

Navigation:  Development > Function Reference > Helpers > Validation >

uniqueInformation

Previous pageReturn to chapter overviewNext page

Check Unique value in a InformationSet

 

App::Utility()->uniqueInformation(Value, Options)

 

Parameter

Description

Value

Value to check

Options

Define InformationSet and field to check.
'type' to set InformationSet name and 'fieldname" field name.

 

 

See bellow example: 

 
$return = App::Helper('Validation')
    ->uniqueInformation(
        'ContactUs',
        array(
            'type'=>'Emailtemplate',
            'fieldname'=>'templatetype'
        )
    );