Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. foreach($tt->tasktypeblock as $ttb)
  2. {
  3. // get the data for this block
  4. $blockmodel = $ttb->blockmodel;
  5. $vb = new $blockmodel();
  6.  
  7. // load the view from the model....
  8. $theTab = $vb->view($taskID);
  9. $this->tabTitles[] = $theTab['tabtitle'];
  10. $this->tabContents[] = $theTab['tabcontent'];
  11. $this->tabJavascript[] = $theTab['tabjavascript'];
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement