Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $this->EE->TMPL->tagparams = array('channel' => 'posts',
  2. 'limit' => '5',
  3. 'search:title' => 'foo');
  4.  
  5. if ( ! class_exists('Channel')) {
  6. require_once(APPPATH.'modules/channel/mod.channel.php');
  7. }
  8. $channel = new Channel();
  9.  
  10. return $channel->entries();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement