function bueditor_buttons in BUEditor 6.2
Same name and namespace in other branches
- 5 bueditor.module \bueditor_buttons()
- 6 bueditor.module \bueditor_buttons()
- 7 bueditor.inc \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.
2 string references to 'bueditor_buttons'
- bueditor_update_6000 in ./
bueditor.install - Update from 4|5.x to 6.x Add new fields: {bueditor_editors}.iconpath, {bueditor_editors}.librarypath. Change {bueditor_buttons}.accesskey field type from char to varchar. Update {bueditor_buttons}.content field values. Delete needless cron variable.
- bueditor_write_editor in admin/
bueditor.admin.inc - Update/insert an editor.
File
- ./
bueditor.inc, line 35 - Implements commonly used functions for bueditor.
Code
function bueditor_buttons($eid) {
$sql = 'SELECT * FROM {bueditor_buttons} WHERE eid = %d ORDER BY weight, title';
return $eid ? bueditor_query_buttons($sql, $eid) : array();
}