public function getTemplateSource($fromPointer = false)
    {
        if ($fromPointer === true) {
            return substr($this->templateSource, $this->pointer);
        } elseif (is_numeric($fromPointer)) {
            return substr($this->templateSource, $fromPointer);
        } else {
            return $this->templateSource;
        }
    }
public function getTemplateSource($fromPointer = false)
    {
        if ($fromPointer === true) {
            return substr($this->templateSource, $this->pointer);
        } elseif (is_numeric($fromPointer)) {
            return substr($this->templateSource, $fromPointer);
        } else {
            return $this->templateSource;
        }
    }
public function getTemplateSource ( $ fromPointer = false ) { if ( $ fromPointer === true ) { return substr ( $ this -> templateSource , $ this -> pointer ) ; } elseif ( is_numeric ( $ fromPointer ) ) { return substr ( $ this -> templateSource , $ fromPointer ) ; } else { return $ this -> templateSource ; } }
Returns the template that is being compiled.

@param mixed $fromPointer if set to true, only the source from the current pointer
position is returned, if a number is given it overrides the current pointer

@return string the template or partial template
Returns the template that is being compiled .