Skip to content

Instantly share code, notes, and snippets.

@benmanns
Created June 22, 2010 14:11
Show Gist options
  • Save benmanns/448508 to your computer and use it in GitHub Desktop.
Save benmanns/448508 to your computer and use it in GitHub Desktop.
array(
'name' => array(
'notempty' => array(
'rule' => array('notempty'),
'allowEmpty' => false,
'required' => true,
),
'isUnique' => array(
'rule' => array('isUnique'),
'message' => 'That group name has already been registered.',
),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment