phpQueryObject::end PHP Method

end() public method

..
public end ( $level = 1 ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
return phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
    public function end($level = 1)
    {
        //		$this->elements = array_pop( $this->history );
        //		return $this;
        //		$this->previous->DOM = $this->DOM;
        //		$this->previous->XPath = $this->XPath;
        return $this->previous ? $this->previous : $this;
    }