You are here

function bueditor_buttons in BUEditor 7

Same name and namespace in other branches
  1. 5 bueditor.module \bueditor_buttons()
  2. 6.2 bueditor.inc \bueditor_buttons()
  3. 6 bueditor.module \bueditor_buttons()

All buttons of an editor.

5 calls to bueditor_buttons()
bueditor_editor_form in admin/bueditor.admin.inc
Editor form.
bueditor_eop_copy in admin/bueditor.admin.inc
Editor copy operation.
bueditor_processed_buttons in ./bueditor.inc
Processed buttons. Evaluate php code for php buttons and translate titles prefixed with t:.
bueditor_sprite_editor in admin/bueditor.sprite.inc
Create an icon sprite for an editor.
bueditor_varexport_editor in admin/bueditor.admin.inc
Generate an importable editor string including icon and library files.
1 string reference to 'bueditor_buttons'
bueditor_write_editor in admin/bueditor.admin.inc
Update/insert an editor.

File

./bueditor.inc, line 47
Implements commonly used functions for bueditor.

Code

function bueditor_buttons($eid) {
  $sql = 'SELECT * FROM {bueditor_buttons} WHERE eid = :eid ORDER BY weight, title';
  return $eid ? bueditor_query_buttons($sql, array(
    ':eid' => $eid,
  )) : array();
}