QuickBooks/QBXML/Object.php
public function getFullNameType($fullname_key, $name_key, $parent_key, $default = null)
	{
		$fullname = $this->get($fullname_key);
		if (!$fullname)
		{
			$name = $this->get($name_key);
			$parent = $this->get($parent_key);
			
			if ($name and $parent)
			{
				$fullname = $parent . ':' . $name;
			}
			else
			{
				$fullname = $name;
			}
		}
		
		return $fullname;
	}
public function getFullNameType($fullname_key, $name_key, $parent_key, $default = null)
	{
		$fullname = $this->get($fullname_key);
		if (!$fullname)
		{
			$name = $this->get($name_key);
			$parent = $this->get($parent_key);
			
			if ($name and $parent)
			{
				$fullname = $parent . ':' . $name;
			}
			else
			{
				$fullname = $name;
			}
		}
		
		return $fullname;
	}
Get a FullName value (where : separates parent and child items)

@param string $fullname_key		The key to set, i.e. FullName
@param string $name_key			The 'Name' key, i.e. Name
@param string $parent_key		The parent key, i.e. ParentRef_FullName
@param mixed $default
@return string