public function removeList( core_kernel_classes_Class $listClass)
    {
        $returnValue = (bool) false;

        
        
        if(!is_null($listClass)){
        	foreach($this->getListElements($listClass) as $element){
        		$this->removeListElement($element);
        	}
        	$returnValue = $listClass->delete();
        }
        
        

        return (bool) $returnValue;
    }
public function removeList( core_kernel_classes_Class $listClass)
    {
        $returnValue = (bool) false;

        
        
        if(!is_null($listClass)){
        	foreach($this->getListElements($listClass) as $element){
        		$this->removeListElement($element);
        	}
        	$returnValue = $listClass->delete();
        }
        
        

        return (bool) $returnValue;
    }
public function removeList ( core_kernel_classes_Class $ listClass ) { $ returnValue = ( bool ) false ; if ( ! is_null ( $ listClass ) ) { foreach ( $ this -> getListElements ( $ listClass ) as $ element ) { $ this -> removeListElement ( $ element ) ; } $ returnValue = $ listClass -> delete ( ) ; } return ( bool ) $ returnValue ; }
remove a list and it's elements

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Class listClass
@return boolean
remove a list and it s elements