public function getSpecification($element = '')
    {
        if (isset($element) && $element !== '') {
            $spec = $this->pattern->specification[$this->getOption('doctype')][$element];
        } else {
            $spec = $this->pattern->specification[$this->getOption('doctype')];
        }
        return $spec;
    }
public function getSpecification($element = '')
    {
        if (isset($element) && $element !== '') {
            $spec = $this->pattern->specification[$this->getOption('doctype')][$element];
        } else {
            $spec = $this->pattern->specification[$this->getOption('doctype')];
        }
        return $spec;
    }
public function getSpecification ( $ element = '' ) { if ( isset ( $ element ) && $ element !== '' ) { $ spec = $ this -> pattern -> specification [ $ this -> getOption ( 'doctype' ) ] [ $ element ] ; } else { $ spec = $ this -> pattern -> specification [ $ this -> getOption ( 'doctype' ) ] ; } return $ spec ; }
TESTING Getter for retriving the specification in the current context.

@param string $element

@return string
TESTING Getter for retriving the specification in the current context .