Ferreteria/v2/class/fcTable keyed single
< Ferreteria | v2 | class
Jump to navigation
Jump to search
- file: Template:L/ferreteria/file
- extends: Template:L/version
- uses: Template:L/version
- used by: Template:L/version
Functions
- public function Insert_andGet(array $arData)
Code
abstract class fcTable_keyed_single extends fcTable_keyed {
use ftSingleKeyedTable;
public function Insert_andGet(array $arData) {
$id = $this->Insert($arData);
if ($id === FALSE) {
return NULL;
} else {
return $this->GetRecord_forKey($id);
}
}
}