Exemple #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;
         }
     }
 }
Exemple #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;
     }
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #6
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_logs', 'log_id', $_db);
 }
Exemple #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);
 }
Exemple #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);
 }