Ferreteria/v0.3/class/tDataDesign singleKey

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Revision as of 00:28, 31 December 2018 by htyp>Woozle (Created page with "{{page/code/class|ferreteria}} <source lang=php> trait tDataDesign_singleKey { abstract public function GetKeyName(); // ++ UTILITY ++ // // 2017-03-18 creat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Page/code/class

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 -- //
}