Index: trunk/core/kernel/kbase.php =================================================================== diff -u -r2285 -r2320 --- trunk/core/kernel/kbase.php (.../kbase.php) (revision 2285) +++ trunk/core/kernel/kbase.php (.../kbase.php) (revision 2320) @@ -73,12 +73,15 @@ * Returns joined prefix * and special if any * + * @param bool $from_submit if true, then joins prefix & special by "_", uses "." otherwise * @return string * @access protected */ - function getPrefixSpecial() + function getPrefixSpecial($from_submit = false) { - return rtrim($this->Prefix.'.'.$this->Special,'.'); + $separator = !$from_submit ? '.' : '_'; + $ret = $this->Prefix.$separator.$this->Special; + return rtrim($ret, $separator); } function &getProperty($property_name) @@ -108,6 +111,11 @@ $this->Conn =& $this->Application->GetADODBConnection(); } + function InitHelper() + { + + } + } class kDBBase extends kBase { @@ -479,7 +487,7 @@ 'ParentPrefix' => $parent_prefix ); - $main_object = $this->Application->recallObject($parent_prefix.'.'.$special); + $main_object =& $this->Application->recallObject($parent_prefix.'.'.$special); return array_merge($table_info, Array('ParentId'=> $main_object->GetDBField( $table_info['ParentTableKey'] ) ) ); } return false;