Ferreteria/v0.3/class/tDataDesign singleKey: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(related trait)
m (Woozle moved page Ferreteria/class/tDataDesign singleKey to Ferreteria/v3/class/tDataDesign singleKey without leaving a redirect: this is all v3 documentation, and we still need v2)
(No difference)

Revision as of 14:24, 19 January 2019

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