C_Mvc_Option_Handler

The NextGEN Gallery C Mvc Option Handler class.

Defined (1)

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

/products/photocrati_nextgen/modules/mvc/module.mvc.php  
  1. class C_Mvc_Option_Handler 
  2. function get($option, $default=NULL) 
  3. $retval = $default; 
  4.  
  5. switch ($option) { 
  6. case 'mvc_template_dir': 
  7. case 'mvc_template_dirname': 
  8. $retval = '/templates'; 
  9. break; 
  10. case 'mvc_static_dirname': 
  11. case 'mvc_static_dir': 
  12. $retval = '/static'; 
  13. break; 
  14.  
  15. return $retval;