HosipLan

Untitled

Jun 24th, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. $this['thread'] = new ($this->context->threads, $threadId);
  2. if ($thread->poll) {
  3.     $this['thread']->createPoll($this->context->polls, $thread->poll);
  4. }
  5.  
  6.  
  7. public function createPoll(Polls $polls, $pollId)
  8. {
  9.     $this['poll'] = new PollComponent($polls, $pollId);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment