/** * Constructor * * @param null|XoopsDatabase $db database connection * @param string $table Name of database table * @param string $className Name of the XoopsObject class this handler manages * @param string $keyName Name of the property holding the key * @param string $identifierName Name of the property holding an identifier * name (title, name ...), used on getList() */ public function __construct(XoopsDatabase $db = null, $table = '', $className = '', $keyName = '', $identifierName = '') { $db = XoopsDatabaseFactory::getDatabaseConnection(); $table = $db->prefix($table); parent::__construct($db); $this->table = $table; $this->keyName = $keyName; $this->className = $className; if ($identifierName) { $this->identifierName = $identifierName; } }
public function __construct(XoopsDatabase $db) { parent::__construct($db); $this->table = $this->db->prefix('groups_users_link'); }
public function __construct(XoopsDatabase $db) { parent::__construct($db); $this->table = $this->db->prefix('group_permission'); }
/** * Enter description here... * * @param XoopsDatabase $db */ public function __construct(XoopsDatabase $db) { parent::__construct($db); }
public function __construct(&$db) { parent::__construct($db); $this->_deprecated = icms_core_Debug::setDeprecated('icms_image_set_Handler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }