Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->EE->TMPL->tagparams = array('channel' => 'posts',
- 'limit' => '5',
- 'search:title' => 'foo');
- if ( ! class_exists('Channel')) {
- require_once(APPPATH.'modules/channel/mod.channel.php');
- }
- $channel = new Channel();
- return $channel->entries();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement