Beispiel #1
0
 /**
  * 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;
     }
 }
Beispiel #2
0
 public function __construct(XoopsDatabase $db)
 {
     parent::__construct($db);
     $this->table = $this->db->prefix('groups_users_link');
 }
Beispiel #3
0
 public function __construct(XoopsDatabase $db)
 {
     parent::__construct($db);
     $this->table = $this->db->prefix('group_permission');
 }
Beispiel #4
0
 /**
  * Enter description here...
  *
  * @param XoopsDatabase $db
  */
 public function __construct(XoopsDatabase $db)
 {
     parent::__construct($db);
 }
Beispiel #5
0
 public function __construct(&$db)
 {
     parent::__construct($db);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_image_set_Handler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }