Ferreteria/v0.3/class/cPortalRow storage: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 7: Line 7:
         return cIOField::ksPortalStorage;
         return cIOField::ksPortalStorage;
     }
     }
}}
}
</source>
</source>
* '''file''': {{l/ferreteria/file|data/portals/rows/storage.php}}
* '''file''': {{l/ferreteria/file|data/portals/rows/storage.php}}

Revision as of 12:58, 1 January 2019

Template:Page/code/class

class cPortalRow_storage extends cPortalRow implements ifLoadableRows {
    use tLoadableRow;   // lets DB store its resource-blob

    protected function GetPortalType() {
        return cIOField::ksPortalStorage;
    }
}