Ferreteria/v0.3/class/tDataDesign singleKey

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
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 -- //
}