phid = $phid; return $this; } public function setURI($uri) { $this->uri = $uri; return $this; } public function setCount($count) { $this->count = $count; return $this; } public function setVote($vote) { $this->vote = $vote; return $this; } public function render() { require_celerity_resource('ponder-vote-css'); require_celerity_resource('javelin-behavior-ponder-votebox'); Javelin::initBehavior( 'ponder-votebox', array( 'nodeid' => $this->phid, 'vote' => $this->vote, 'count' => $this->count, 'uri' => $this->uri )); $content = '
'. '
'. $this->renderChildren(). '
'; return $content; } }