Mixin_Display_Type_Validation

The NextGEN Gallery Mixin Display Type Validation class.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php  
  1. class Mixin_Display_Type_Validation extends Mixin 
  2. public function validation() 
  3. $this->object->validates_presence_of('entity_types'); 
  4. $this->object->validates_presence_of('name'); 
  5. $this->object->validates_presence_of('title'); 
  6. return $this->object->is_valid();