function ocupload_template_load in One Click Upload 7
Same name and namespace in other branches
- 7.2 ocupload.module \ocupload_template_load()
Return template object by tid.
File
- ./
ocupload.module, line 185 - Hooks and general functions
Code
function ocupload_template_load($tid) {
return db_select('ocupload_templates', 'bc')
->fields('bc')
->condition('bc.tid', $tid)
->execute()
->fetch();
}