public function __construct($data = array()) { parent::__construct('#__newsletter_automailings', 'automailing_id', JFactory::getDbo()); if (!empty($data)) { foreach ($data as $key => $value) { $this->{$key} = $value; } } }
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; } }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }