phpQueryObject::wrapAll PHP Méthode

wrapAll() public méthode

.. TODO testme...
public wrapAll ( $wrapper ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
Résultat 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);
    }