Ferreteria/v0.3/class/tDataDesign singleKey

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v0.3‎ | class
Revision as of 00:28, 31 December 2018 by Woozle (talk | contribs) (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
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 -- //
}