示例#1
0
文件: joomla.php 项目: grlf/eyedock
 public function __construct(Am_Protect_Databased $plugin, $db = null, $table = null, $recordClass = null, $key = null)
 {
     parent::__construct($plugin, $db, $table, $recordClass, $key);
     $this->setFieldsMapping(array(array(Am_Protect_Table::FIELD_LOGIN, 'username'), array(Am_Protect_Table::FIELD_NAME, 'name'), array(Am_Protect_Table::FIELD_EMAIL, 'email'), array(Am_Protect_Table::FIELD_PASS, 'password'), array(Am_Protect_Table::FIELD_ADDED_SQL, 'registerDate'), array(Am_Protect_Table::FIELD_GROUP_ID, 'gid')));
     $this->setGroupsTableConfig(array(Am_Protect_Table::GROUP_TABLE => "?_core_acl_aro", Am_Protect_Table::GROUP_GID => 'group_id', Am_Protect_Table::GROUP_UID => 'value'));
 }
示例#2
0
 function __construct(Am_Protect_Databased $plugin, $db = null, $table = null, $recordClass = null, $key = null)
 {
     parent::__construct($plugin, $db, $table, $recordClass, $key);
 }