You are here

function ocupload_templates in One Click Upload 7

Same name and namespace in other branches
  1. 7.2 ocupload.module \ocupload_templates()

Return all templates.

5 calls to ocupload_templates()
ocupload_config_page in ./ocupload.inc
Admin page with templates list
ocupload_permission in ./ocupload.module
Implements hook_permission().
ocupload_preprocess_html in ./ocupload.module
Implements hook_preprocess_html().
ocupload_update_7105 in ./ocupload.install
Add new col {ocupload_templates}.link_template Update colorbox integration Delete col {ocupload_templates}.show_in_colorbox
ocupload_upload in ./ocupload.inc
Upload file
10 string references to 'ocupload_templates'
ocupload_features_api in ./ocupload.module
Implements hook_features_api().
ocupload_templates_features_revert in ./ocupload.features.inc
Implements hook_features_revert().
ocupload_template_save in ./ocupload.inc
Add/save template
ocupload_update_7100 in ./ocupload.install
Add new col {ocupload_templates}.show_in_colorbox
ocupload_update_7101 in ./ocupload.install
Change col length {ocupload_templates}.path

... See full list

File

./ocupload.module, line 196
Hooks and general functions

Code

function ocupload_templates() {
  return db_select('ocupload_templates', 'bc')
    ->fields('bc')
    ->execute()
    ->fetchAllAssoc('tid');
}