C_Displayed_Gallery_Trigger

The NextGEN Gallery C Displayed Gallery Trigger 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. abstract class C_Displayed_Gallery_Trigger 
  2. static function is_renderable($name, $displayed_gallery) 
  3. return TRUE; 
  4. function get_css_class() 
  5. return 'fa fa-circle'; 
  6. function get_attributes() 
  7. return array('class' => $this->get_css_class()); 
  8. function render() 
  9. $attributes = array(); 
  10. foreach ($this->get_attributes() as $k => $v) { 
  11. $k = esc_attr($k); 
  12. $v = esc_attr($v); 
  13. $attributes[] = "{$k}='{$v}'"; 
  14. $attributes = implode(" ", $attributes); 
  15. return "<i {$attributes}></i>";