phpQueryObject::wrapAll PHP Method

wrapAll() public method

.. TODO testme...
public wrapAll ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
return phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
    public function wrapAll($wrapper)
    {
        if (!$this->length()) {
            return $this;
        }
        return phpQuery::pq($wrapper, $this->getDocumentID())->clone()->insertBefore($this->get(0))->map(array($this, '___wrapAllCallback'))->append($this);
    }