Ferreteria/v0.3/class/tHasTableSource: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
m (5 revisions imported: moving this project here)
 
(No difference)

Latest revision as of 16:43, 22 May 2022

Template:Page/code/class

/*tttt
  STANDARD USE: storage PortalRow class
*/
trait tHasTableSource {
    use tQueryableSource;

    abstract protected function GetTableName();
    
    // ALIAS
    protected function SourceString_forSelect() {
        $sName = $this->GetTableName();
        return "`$sName`";
    }

}