You are here

public property flag_flag::$errors in Flag 7.3

An associative array containing textual errors that may be created during validation.

The array keys should reflect the type of error being set. At this time, the only "special" behavior related to the array keys is that drupal_access_denied() is called when the key is 'access-denied' and javascript is disabled.

Type: array

File

includes/flag/flag_flag.inc, line 108
Contains the flag_flag class. Flag type classes use an object oriented style inspired by that of Views 2.

Class

flag_flag
This abstract class represents a flag, or, in Views 2 terminology, "a handler".

Code

public $errors = array();