Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created October 23, 2012 12:45
Show Gist options
  • Select an option

  • Save objectivehtml/3938554 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/3938554 to your computer and use it in GitHub Desktop.
//Primary syntax
$this->EE->channel_data->get_channel_entries($channel_id = 1, array(
'where' => array(
'channel_titles.entry_id !=' => array(
1,
2,
3,
4
)
)
));
// Alt syntax
$this->EE->channel_data->get_channel_entries($channel_id = 1, array(
'where' => array(
'{1} channel_titles.entry_id !=' => 1,
'{2} channel_titles.entry_id !=' => 2,
'{3} channel_titles.entry_id !=' => 3,
'{4} channel_titles.entry_id !=' => 4,
)
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment