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

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
No edit summary
m (Woozle moved page Ferreteria/class/tHasTableSource to Ferreteria/v3/class/tHasTableSource 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

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

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

}