Lines Matching refs:target
94 public $target; variable in DOMEvent
845 $event->relatedTarget = $event->target;
846 $event->target = $node;
3148 * @param unknown_type $target
3153 public function insert($target, $type) { argument
3163 switch(gettype($target)) {
3169 if (phpQuery::isMarkup($target)) {
3171 $insertTo = $this->documentWrapper->import($target);
3177 $insertTo = $this->find($target)->elements;
3183 $insertFrom = $this->documentWrapper->import($target);
3189 if ($target instanceof self) {
3191 $insertTo = $target->elements;
3201 $insertFrom = $this->getDocumentID() == $target->getDocumentID()
3203 : $target->documentWrapper->import($loop);
3206 if ( $target->documentFragment && $target->stackIsRoot() )
3209 $loop = $target->root->childNodes;
3211 $loop = $target->elements;
3213 $insertFrom = $this->getDocumentID() == $target->getDocumentID()
3218 } elseif ($target instanceof DOMNODE) {
3223 $insertTo = array($target);
3232 … $insertFrom[] = ! $fromNode->ownerDocument->isSameNode($target->ownerDocument)
3233 ? $target->ownerDocument->importNode($fromNode, true)
3237 if (! $target->ownerDocument->isSameNode($this->document))
3238 $target = $this->document->importNode($target, true);
3240 $insertFrom[] = $target;
4871 * @param string|array $target
4876 public static function extend($target, $source) { argument
4877 switch($target) {
4894 self::debug("Duplicate method '{$method}', can\'t extend '{$target}'");
4900 ." can\'t extend '{$target}'");