function bueditor_editor_load in BUEditor 7
Same name and namespace in other branches
- 6.2 bueditor.module \bueditor_editor_load()
- 6 bueditor.module \bueditor_editor_load()
Load an editor by id. (Used by menu system)
File
- ./bueditor.module, line 94 
- Implements the necessary hooks for the editor to work properly.
Code
function bueditor_editor_load($eid) {
  return db_query("SELECT * FROM {bueditor_editors} WHERE eid = :eid", array(
    ':eid' => $eid,
  ))
    ->fetchObject();
}