A_NextGen_Basic_Tagcloud

Class A_NextGen_Basic_Tagcloud.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_basic_tagcloud/package.module.nextgen_basic_tagcloud.php  
  1. class A_NextGen_Basic_Tagcloud extends Mixin 
  2. function validation() 
  3. if ($this->object->name == NGG_BASIC_TAGCLOUD) { 
  4. $this->object->validates_presence_of('gallery_display_type'); 
  5. // If we have a "gallery_display_type", we don't need a "display_type" setting 
  6. if (isset($this->object->settings['display_type']) && isset($this->object->settings['gallery_display_type'])) { 
  7. unset($this->object->settings['display_type']); 
  8. return $this->call_parent('validation');