Application->ConfigValue('Root_Name'); $value = str_replace('&|&', ' > ', $this->Field($params)); $ret = $this->Application->Phrase($root_phrase).( $value ? ' > ' : '').$value; if( $this->Field( Array('field'=> 'PrimaryCat') ) == 1 ) { $label = $params['primary_title']; $ret .= ' ('.$this->Application->Phrase($label).')'; } return $ret; } function GetMainID() { $object =& $this->Application->recallObject( $this->getPrefixSpecial() ); $table_info = $object->getLinkedInfo(); return $table_info['ParentId']; } } ?>