Ferreteria/v0.3/class/tDataDesign singleKey: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(Created page with "{{page/code/class|ferreteria}} <source lang=php> trait tDataDesign_singleKey { abstract public function GetKeyName(); // ++ UTILITY ++ // // 2017-03-18 creat...") |
m (4 revisions imported: moving this project here) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
* '''file''': {{l/ferreteria/file|data/basic/design.php}} | * '''file''': {{l/ferreteria/file|data/basic/design.php}} | ||
* '''uses''': {{l/ferreteria/class|tDataDesign}} | * '''uses''': {{l/ferreteria/class|tDataDesign}} | ||
* '''see also''': {{l/ferreteria/class|tMonokeyQueryableSource}} |
Latest revision as of 16:43, 22 May 2022
trait tDataDesign_singleKey {
abstract public function GetKeyName();
// ++ UTILITY ++ //
// 2017-03-18 created for EventPlex
public function GetRows_forKeyList($sqlIDs) {
$sqlWhere = $this->GetKeyName().' IN ('.$sqlIDs.')';
return $this->SelectRows($sqlWhere);
}
// -- UTILITY -- //
}
- file: Template:L/ferreteria/file
- uses: Template:L/ferreteria/class
- see also: Template:L/ferreteria/class