public function getElement($serial){

        $returnValue = null;

        if(isset($this->elements[$serial])){
            $returnValue = $this->elements[$serial];
        }

        return $returnValue;
    }
public function getElement($serial){

        $returnValue = null;

        if(isset($this->elements[$serial])){
            $returnValue = $this->elements[$serial];
        }

        return $returnValue;
    }
public function getElement ( $ serial ) { $ returnValue = null ; if ( isset ( $ this -> elements [ $ serial ] ) ) { $ returnValue = $ this -> elements [ $ serial ] ; } return $ returnValue ; }
Get the element by its serial

@param string $serial
@return oat\taoQtiItem\model\qti\Element
Get the element by its serial