0

Is there a way to get an entry using only PHP? I've looked at the developer API, http://ellislab.com/expressionengine/user-guide/development/api/api_channel_entries.html, but there doesn't seem to be a way to fetch an entry.

I'd like to do this:

$entry = ee()->api_channel_entries->get_entry($entry_id);
1

Short answer: there is no API for this.

Longer answer: there is no API, but... You could either check out ObjectiveHTML's Channel Data library. You could also try and utilize the Channel module. However, that path is completely undocumented, so if you decide to go that route, tread lightly.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.