• R/O
  • SSH
  • HTTPS

xoonips: Commit


Commit MetaInfo

Revision650 (tree)
Zeit2017-02-04 17:14:10
Autororrisroot

Log Message

add class type hinting.

Ändern Zusammenfassung

Diff

--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/AbstractHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/AbstractHandler.php (revision 650)
@@ -27,7 +27,7 @@
2727 * @param \XoopsDatabase &$db
2828 * @param string $dirname
2929 */
30- public function __construct(&$db, $dirname)
30+ public function __construct(\XoopsDatabase &$db, $dirname)
3131 {
3232 $this->mDB = &$db;
3333 $this->mDirname = $dirname;
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/AbstractObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/AbstractObjectHandler.php (revision 650)
@@ -2,6 +2,9 @@
22
33 namespace Xoonips\Handler;
44
5+use Xoonips\Core\JoinCriteria;
6+use Xoonips\Object\AbstractObject;
7+
58 /**
69 * abstract object handler.
710 */
@@ -42,7 +45,7 @@
4245 * @param \XoopsDatabase &$db
4346 * @param string $dirname
4447 */
45- public function __construct(&$db, $dirname)
48+ public function __construct(\XoopsDatabase &$db, $dirname)
4649 {
4750 parent::__construct($db, $dirname);
4851 $this->mClassName = str_replace(
@@ -128,7 +131,7 @@
128131 *
129132 * @return array
130133 */
131- public function getObjects($criteria = null, $fieldlist = '', $distinct = false, $idAsKey = false, $join = null)
134+ public function getObjects(\CriteriaElement $criteria = null, $fieldlist = '', $distinct = false, $idAsKey = false, JoinCriteria $join = null)
132135 {
133136 $ret = array();
134137 if (!$res = $this->open($criteria, $fieldlist, $distinct, $join)) {
@@ -163,7 +166,7 @@
163166 *
164167 * @return int
165168 */
166- public function getCount($criteria = null, $join = null)
169+ public function getCount(\CriteriaElement $criteria = null, JoinCriteria $join = null)
167170 {
168171 $ret = 0;
169172 if (is_object($criteria)) {
@@ -189,7 +192,7 @@
189192 *
190193 * @return bool
191194 */
192- public function insert(&$obj, $force = false)
195+ public function insert(AbstractObject &$obj, $force = false)
193196 {
194197 return $this->_update($obj, $force, false);
195198 }
@@ -202,7 +205,7 @@
202205 *
203206 * @return bool
204207 */
205- public function replace(&$obj, $force = false)
208+ public function replace(AbstractObject &$obj, $force = false)
206209 {
207210 return $this->_update($obj, $force, true);
208211 }
@@ -215,7 +218,7 @@
215218 *
216219 * @return bool
217220 */
218- public function delete(&$obj, $force = false)
221+ public function delete(AbstractObject &$obj, $force = false)
219222 {
220223 if (is_array($this->mPrimaryKey)) {
221224 $criteria = new \CriteriaCompo();
@@ -235,11 +238,11 @@
235238 * delete objects using criteria.
236239 *
237240 * @param \CriteriaElement $criteria
238- * @param bool $force force operation
241+ * @param bool $force
239242 *
240- * @return bool false if failed
243+ * @return bool
241244 */
242- public function deleteAll($criteria = null, $force = false)
245+ public function deleteAll(\CriteriaElement $criteria = null, $force = false)
243246 {
244247 $sql = 'DELETE FROM `'.$this->mTable.'`';
245248 if (is_object($criteria)) {
@@ -262,7 +265,7 @@
262265 *
263266 * @return resource
264267 */
265- public function open($criteria = null, $fieldlist = '', $distinct = false, $join = null)
268+ public function open(\CriteriaElement $criteria = null, $fieldlist = '', $distinct = false, JoinCriteria $join = null)
266269 {
267270 $limit = $start = 0;
268271 if (is_object($criteria)) {
@@ -319,7 +322,7 @@
319322 *
320323 * @return bool
321324 */
322- protected function _update(&$obj, $force, $isReplace)
325+ protected function _update(AbstractObject &$obj, $force, $isReplace)
323326 {
324327 $isNew = $obj->isNew();
325328 $isArrayPrimaryKey = is_array($this->mPrimaryKey);
@@ -395,7 +398,7 @@
395398 *
396399 * @return array
397400 */
398- public function _makeVarsArray4SQL(&$obj)
401+ public function _makeVarsArray4SQL(AbstractObject &$obj)
399402 {
400403 $ret = array();
401404 $info = $obj->getTableInfo();
@@ -441,7 +444,7 @@
441444 *
442445 * @return string
443446 */
444- protected function _makeSelectSQL($criteria = null, $fieldlist = '', $distinct = false, $join = null)
447+ protected function _makeSelectSQL(\CriteriaElement $criteria = null, $fieldlist = '', $distinct = false, JoinCriteria $join = null)
445448 {
446449 $distinct = ($distinct) ? 'DISTINCT ' : '';
447450 if ($fieldlist == '') {
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ComplementDetailObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ComplementDetailObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_complement_detail');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ComplementObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ComplementObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_complement');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ConfigObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ConfigObjectHandler.php (revision 650)
@@ -8,11 +8,11 @@
88 class ConfigObjectHandler extends AbstractObjectHandler
99 {
1010 /**
11- * config cache.
11+ * objects cache.
1212 *
1313 * @var array
1414 */
15- protected $mConfigs = null;
15+ protected $mObjects;
1616
1717 /**
1818 * constructor.
@@ -20,11 +20,12 @@
2020 * @param \XoopsDatabase &$db
2121 * @param string $dirname
2222 */
23- public function __construct(&$db, $dirname)
23+ public function __construct(\XoopsDatabase &$db, $dirname)
2424 {
2525 parent::__construct($db, $dirname);
2626 $this->mTable = $db->prefix($dirname.'_config');
2727 $this->mPrimaryKey = 'id';
28+ $this->mObjects = array();
2829 }
2930
3031 /**
@@ -36,14 +37,14 @@
3637 */
3738 public function getConfig($name)
3839 {
39- if (!is_array($this->mConfigs) && !$this->_loadConfigs()) {
40+ if (empty($this->mObjects) && !$this->_loadConfigs()) {
4041 return null;
4142 }
42- if (!array_key_exists($name, $this->mConfigs)) {
43+ if (!array_key_exists($name, $this->mObjects)) {
4344 return null;
4445 }
4546
46- return $this->mConfigs[$name]->get('value');
47+ return $this->mObjects[$name]->get('value');
4748 }
4849
4950 /**
@@ -61,9 +62,9 @@
6162 if (is_null($oldValue)) {
6263 return false;
6364 }
64- $this->mConfigs[$name]->set('value', $value);
65- if (!$this->insert($this->mConfigs[$name], $force)) {
66- $this->mConfigs[$name]->set('value', $oldValue);
65+ $this->mObjects[$name]->set('value', $value);
66+ if (!$this->insert($this->mObjects[$name], $force)) {
67+ $this->mObjects[$name]->set('value', $oldValue);
6768
6869 return false;
6970 }
@@ -90,7 +91,7 @@
9091 if (!$this->insert($obj, $force)) {
9192 return false;
9293 }
93- $this->mConfigs[$name] = $obj;
94+ $this->mObjects[$name] = $obj;
9495 } else {
9596 if (!$this->setConfig($name, $value, $force)) {
9697 return false;
@@ -103,6 +104,8 @@
103104
104105 /**
105106 * load configs.
107+ *
108+ * @return bool
106109 */
107110 private function _loadConfigs()
108111 {
@@ -109,10 +112,10 @@
109112 if (!$res = $this->open()) {
110113 return false;
111114 }
112- $this->mConfigs = array();
115+ $this->mObjects = array();
113116 while ($obj = $this->getNext($res)) {
114117 $name = $obj->get('name');
115- $this->mConfigs[$name] = $obj;
118+ $this->mObjects[$name] = $obj;
116119 }
117120 $this->close($res);
118121
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DataTypeObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DataTypeObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_data_type');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DefaultItemFieldDetailObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DefaultItemFieldDetailObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_default_item_field_detail');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DefaultItemFieldGroupObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/DefaultItemFieldGroupObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_default_item_field_group');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/EventLogObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/EventLogObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_event_log');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/IndexItemLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/IndexItemLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_index_item_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/IndexObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/IndexObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_index');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemChangelogObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemChangelogObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_changelog');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldDetailComplementLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldDetailComplementLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_field_detail_complement_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldDetailObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldDetailObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_field_detail');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldGroupFieldDetailLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldGroupFieldDetailLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_field_group_field_detail_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldGroupObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldGroupObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_field_group');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldValueSetObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFieldValueSetObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_field_value_set');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFileObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemFileObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_file');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemImportLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemImportLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_import_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemImportLogObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemImportLogObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_import_log');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemKeywordObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemKeywordObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_keyword');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemRelatedToObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemRelatedToObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_related_to');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTitleObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTitleObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_title');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeFieldGroupLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeFieldGroupLinkObjectHandler.php (revision 650)
@@ -13,10 +13,11 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type_field_group_link');
2020 $this->mPrimaryKey = 'item_type_field_group_id';
21+ $this->mObjects = array();
2122 }
2223 }
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSearchConditionDetailObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSearchConditionDetailObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type_search_condition_detail');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSearchConditionObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSearchConditionObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type_search_condition');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSortDetailObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSortDetailObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type_sort_detail');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSortObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemTypeSortObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_type_sort');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemUsersLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ItemUsersLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_item_users_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhItemStatusObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhItemStatusObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_item_status');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhResumptionTokenObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhResumptionTokenObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_resumption_token');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaItemTypeLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaItemTypeLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_schema_item_type_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaLinkObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaLinkObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_schema_link');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_schema');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaValueSetObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/OaipmhSchemaValueSetObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_oaipmh_schema_value_set');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/SearchTextObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/SearchTextObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_search_text');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ViewDataRelationObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ViewDataRelationObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_view_data_relation');
--- trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ViewTypeObjectHandler.php (revision 649)
+++ trunk/xoonips/xoops_trust_path/modules/xoonips/lib/Xoonips/Handler/ViewTypeObjectHandler.php (revision 650)
@@ -13,7 +13,7 @@
1313 * @param \XoopsDatabase &$db
1414 * @param string $dirname
1515 */
16- public function __construct(&$db, $dirname)
16+ public function __construct(\XoopsDatabase &$db, $dirname)
1717 {
1818 parent::__construct($db, $dirname);
1919 $this->mTable = $db->prefix($dirname.'_view_type');
Show on old repository browser