Example #1
0
 public function __construct($data = array())
 {
     parent::__construct('#__newsletter_automailings', 'automailing_id', JFactory::getDbo());
     if (!empty($data)) {
         foreach ($data as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Example #2
0
 public function __construct($data = array())
 {
     $data = (array) $data;
     parent::__construct('#__newsletter_threads', 'thread_id', JFactory::getDbo());
     /** Populate the entity */
     foreach ($data as $key => &$value) {
         $this->{$key} = $value;
     }
 }
Example #3
0
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 public function __construct(&$_db)
 {
     parent::__construct('#__extensions', 'extension_id', $_db);
 }
Example #4
0
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 function __construct(&$_db)
 {
     parent::__construct('#__newsletter_smtp_profiles', 'smtp_profile_id', $_db);
 }
Example #5
0
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 function __construct(&$_db)
 {
     parent::__construct('#__newsletter_newsletters_ext', 'newsletters_ext_id', $_db);
 }
Example #6
0
File: log.php Project: Rikisha/proj
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 function __construct(&$_db)
 {
     parent::__construct('#__newsletter_logs', 'log_id', $_db);
 }
Example #7
0
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 function __construct(&$_db)
 {
     parent::__construct('#__newsletter_mailbox_profiles', 'mailbox_profile_id', $_db);
 }
Example #8
0
 /**
  * The constructor of a class.
  *
  * @param	object	$config		An object of configuration settings.
  *
  * @return	void
  * @since	1.0
  */
 function __construct(&$_db)
 {
     parent::__construct('#__newsletter_template_styles', 't_style_id', $_db);
 }