public function getListElement( core_kernel_classes_Class $listClass, $uri)
    {
        $returnValue = null;

        
        
        if(!empty($uri)){
	        foreach($this->getListElements($listClass, false) as $element){   	
	           	if($element->getUri() == $uri){
	           		$returnValue = $element;
	           		break;
	           	}
			}
        }
        
        

        return $returnValue;
    }
public function getListElement( core_kernel_classes_Class $listClass, $uri)
    {
        $returnValue = null;

        
        
        if(!empty($uri)){
	        foreach($this->getListElements($listClass, false) as $element){   	
	           	if($element->getUri() == $uri){
	           		$returnValue = $element;
	           		break;
	           	}
			}
        }
        
        

        return $returnValue;
    }
public function getListElement ( core_kernel_classes_Class $ listClass , $ uri ) { $ returnValue = null ; if ( ! empty ( $ uri ) ) { foreach ( $ this -> getListElements ( $ listClass , false ) as $ element ) { if ( $ element -> getUri ( ) == $ uri ) { $ returnValue = $ element ; break ; } } } return $ returnValue ; }
get the element of the list defined by listClass and identified by the
in parameter

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Class listClass
@param  string uri
@return core_kernel_classes_Resource
get the element of the list defined by listClass and identified by the in parameter