Difference between revisions of "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
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...")
 
 
(2 intermediate revisions by the same 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 15:28, 3 February 2020

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