Index: branches/5.2.x/core/kernel/db/dbitem.php =================================================================== diff -u -N -r15144 -r15252 --- branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 15144) +++ branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 15252) @@ -1,6 +1,6 @@ values hash to load item by - * @param string $id_field_name Optional parameter to load item by given Id field - * @param bool $cachable cache this query result based on it's prefix serial - * @return bool True if item has been loaded, false otherwise - */ + * Loads item from the database by given id + * + * @access public + * @param mixed $id item id of keys->values hash to load item by + * @param string $id_field_name Optional parameter to load item by given Id field + * @param bool $cachable cache this query result based on it's prefix serial + * @return bool True if item has been loaded, false otherwise + */ public function Load($id, $id_field_name = null, $cachable = false) { if ( isset($id_field_name) ) { @@ -1154,8 +1154,9 @@ * @param string $parent_prefix * @param bool $top_most return topmost parent, when used * @return int + * @access public */ - protected function getParentId($parent_prefix, $top_most = false) + public function getParentId($parent_prefix, $top_most = false) { $current_id = $this->GetID(); $current_prefix = $this->Prefix;