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

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(cPortalRow_database is obsolete)
m (9 revisions imported: moving this project here)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{page/code/class|ferreteria}}
{{page/code/class}}
<source lang=php>
<source lang=php>
class cPortalRow_storage extends cPortalRow implements ifLoadableRows {
class cPortalRow_storage extends cPortalRow implements ifLoadableRows {
Line 11: Line 11:
* '''file''': {{l/ferreteria/file|data/portals/rows/storage.php}}
* '''file''': {{l/ferreteria/file|data/portals/rows/storage.php}}
* '''extends''': {{l/ferreteria/class|cPortalRow}}
* '''extends''': {{l/ferreteria/class|cPortalRow}}
* '''implements''': {{l/ferreteria/class|ifLoadableRows}}
* '''implements''': {{l/ferreteria/class|ifRowsBlob}}
* '''uses''': {{l/ferreteria/class|tLoadableRow}}
* '''uses''': {{l/ferreteria/class|tRowsBlob}}
* '''extenders''': <s>{{l/ferreteria/class|cPortalRow_database}}</s>
* '''extenders''': {{l/ferreteria/class|cPortalRow_database}}

Latest revision as of 16:43, 22 May 2022

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