public function findByName($Context, $realmID, $name)
	{
		$IPP = $Context->IPP();
		
		if ($IPP->flavor() == QuickBooks_IPP_IDS::FLAVOR_DESKTOP)
		{
			for ($i = 0; $i < 999; $i++)
			{
				$list = $this->findAll($Context, $realmID, $name, $i, 50);
				
				foreach ($list as $Item)
				{
					if (strtolower($Item->getName()) == strtolower($name))
					{
						return $Item;
					}
				}
			}
			
			return false;
		}
		else
		{
			$xml = null;
			return parent::_findByName($Context, $realmID, QuickBooks_IPP_IDS::RESOURCE_ITEM, $name, $xml);
		}
	}
public function findByName($Context, $realmID, $name)
	{
		$IPP = $Context->IPP();
		
		if ($IPP->flavor() == QuickBooks_IPP_IDS::FLAVOR_DESKTOP)
		{
			for ($i = 0; $i < 999; $i++)
			{
				$list = $this->findAll($Context, $realmID, $name, $i, 50);
				
				foreach ($list as $Item)
				{
					if (strtolower($Item->getName()) == strtolower($name))
					{
						return $Item;
					}
				}
			}
			
			return false;
		}
		else
		{
			$xml = null;
			return parent::_findByName($Context, $realmID, QuickBooks_IPP_IDS::RESOURCE_ITEM, $name, $xml);
		}
	}
public function findByName ( $ Context , $ realmID , $ name ) { $ IPP = $ Context -> IPP ( ) ; if ( $ IPP -> flavor ( ) == QuickBooks_IPP_IDS :: FLAVOR_DESKTOP ) { for ( $ i = 0 ; $ i < 999 ; $ i ++ ) { $ list = $ this -> findAll ( $ Context , $ realmID , $ name , $ i , 50 ) ; foreach ( $ list as $ Item ) { if ( strtolower ( $ Item -> getName ( ) ) == strtolower ( $ name ) ) { return $ Item ; } } } return false ; } else { $ xml = null ; return parent :: _findByName ( $ Context , $ realmID , QuickBooks_IPP_IDS :: RESOURCE_ITEM , $ name , $ xml ) ; } }
Find an item by name

@param unknown_type $Context
@param unknown_type $realmID
@param unknown_type $name
Find an item by name