You are here

function bueditor_editor_load in BUEditor 6.2

Same name and namespace in other branches
  1. 6 bueditor.module \bueditor_editor_load()
  2. 7 bueditor.module \bueditor_editor_load()

load editor by id. used by menu system

File

./bueditor.module, line 82
Implements the necessary hooks for the editor to work properly.

Code

function bueditor_editor_load($eid) {
  return db_fetch_object(db_query("SELECT * FROM {bueditor_editors} WHERE eid = %d", $eid));
}