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