function shorten_cs_load in Shorten URLs 8
Same name and namespace in other branches
- 8.2 modules/shorten_cs/shorten_cs.module \shorten_cs_load()
- 6 shorten_cs.module \shorten_cs_load()
- 7.2 shorten_cs.module \shorten_cs_load()
- 7 shorten_cs.module \shorten_cs_load()
Loads a custom service object.
File
- modules/
shorten_cs/ shorten_cs.module, line 91 - Allows users to specify custom services for the Shorten URLs module.
Code
function shorten_cs_load($sid) {
return db_query("SELECT * FROM {shorten_cs} WHERE sid = :sid", array(
':sid' => $sid,
))
->fetchObject();
}