예제 #1
0
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_MVC_Controller_Defaults');
     $this->add_mixin('Mixin_MVC_Controller_Instance_Methods');
     $this->implement('I_MVC_Controller');
 }
예제 #2
0
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Security_Manager');
     $this->add_mixin('Mixin_Security_Manager');
     $this->add_mixin('Mixin_Security_Manager_Request');
 }
예제 #3
0
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Security_Token');
     $this->add_mixin('Mixin_Security_Token');
     $this->add_mixin('Mixin_Security_Token_Property');
 }
예제 #4
0
 /**
  * Define the model
  */
 function define($mapper = NULL, $properties = array(), $context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Validation');
     $this->add_mixin('Mixin_DataMapper_Model_Instance_Methods');
     $this->add_mixin('Mixin_DataMapper_Model_Validation');
     $this->implement('I_DataMapper_Model');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Validation');
     if ($this->has_context('global') or $this->has_context('site')) {
         $this->wrapper = C_NextGen_Global_Settings::get_instance();
     } else {
         $this->wrapper = C_NextGen_Settings::get_instance();
     }
 }
예제 #6
0
 /**
  * Defines the module
  */
 function define($id = 'pope-module', $name = 'Pope Module', $description = '', $version = '', $uri = '', $author = '', $author_uri = '', $context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Pope_Module');
     $this->module_id = $id;
     $this->module_name = $name;
     $this->module_description = $description;
     $this->module_version = $version;
     $this->module_uri = $uri;
     $this->module_author = $author;
     $this->module_author_uri = $author_uri;
     $this->get_registry()->add_module($this->module_id, $this);
     $this->_register_utilities();
     $this->_register_adapters();
     $this->_register_hooks();
 }
 function define($context = false)
 {
     parent::define($context);
     $this->implement('I_NextGen_API_XMLRPC');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Cache');
     $this->implement('I_Cache');
 }
예제 #9
0
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Security_Actor');
     $this->add_mixin('Mixin_Security_Actor');
     $this->add_mixin('Mixin_Security_Actor_Entity');
 }
 /**
  * Defines the object
  * @param bool $context
  */
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Displayed_Gallery_Renderer');
     $this->implement('I_Displayed_Gallery_Renderer');
 }
 function define($object_name, $context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_DataMapper_Driver_Base');
     $this->implement('I_DataMapper_Driver');
     $this->_object_name = $object_name;
     if ($this->has_method('define_columns')) {
         $this->define_columns();
     }
 }
 public function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Dynamic_Thumbnails_Manager');
     $this->add_mixin('Mixin_Dynamic_Thumbnails_Manager');
 }
 function define()
 {
     parent::define();
     $this->add_mixin('Mixin_AutoUpdate_Admin_Ajax');
 }
예제 #14
0
 function define($template, $params = array(), $engine = 'php', $context = FALSE)
 {
     parent::define($context);
     $this->implement('I_MVC_View');
     $this->add_mixin('Mixin_Mvc_View_Instance_Methods');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Component_Factory');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Nextgen_Mail_Manager');
     $this->add_mixin('Mixin_Nextgen_Mail_Manager');
 }
예제 #17
0
 function define($object_name, $context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_DataMapper_Driver_Base');
     $this->implement('I_DataMapper_Driver');
     $this->_object_name = $object_name;
 }
예제 #18
0
 function define($context = FALSE)
 {
     if (!$context or $context == 'all') {
         $context = '/';
     }
     parent::define($context);
     $this->add_mixin('Mixin_Url_Manipulation');
     $this->add_mixin('Mixin_Router');
     $this->implement('I_Router');
 }
 function define()
 {
     parent::define();
     $this->implement('I_Component_Factory');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Frame_Event_Publisher');
     $this->implement('I_Frame_Event_Publisher');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Legacy_Template_Locator');
     $this->implement('I_Legacy_Template_Locator');
 }
 /**
  * Defines the instance of the Page Manager
  * @param type $context
  */
 public function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Page_Manager');
     $this->implement('I_Page_Manager');
 }
 function define($context = FALSE, $properties = array())
 {
     parent::define($context);
     $this->add_mixin('Mixin_NGG_Lightbox_Instance_Methods');
     $this->implement('I_Lightbox');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Url_Manipulation');
     $this->add_mixin('Mixin_Routing_App');
     $this->implement('I_Routing_App');
 }
 function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_Image_Protection_Manager');
     $this->add_mixin('Mixin_Image_Protection_Manager');
 }
예제 #26
0
파일: class.fs.php 프로젝트: JeffreyBue/jb
 /**
  * Defines the instance of the FS utility
  * @param mixed $context	the context in this case is the product
  */
 function define($context = FALSE)
 {
     parent::define($context);
     $this->add_mixin('Mixin_Fs_Instance_Methods');
     $this->implement('I_Fs');
 }
 public function define($context = FALSE)
 {
     parent::define($context);
     $this->implement('I_MVC_View');
     $this->add_mixin('Mixin_Mvc_View_Instance_Methods');
 }