s = $selector; } /** * __call * * @return jQuery_Element */ public function __call($method, $args) { array_push($this->m, $method); array_push($this->a, $args); return $this; } /** * end * need to create new jQuery * * @return jQuery_Element */ public function end() { return new jQuery_Element($this->s); } }