Ferreteria/v0.3/class/tFieldRow Storage

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Revision as of 14:24, 19 January 2019 by htyp>Woozle (Woozle moved page Ferreteria/class/tFieldRow Storage to Ferreteria/v3/class/tFieldRow Storage without leaving a redirect: this is all v3 documentation, and we still need v2)
Jump to navigation Jump to search

Template:Page/code/class

/*tttt
  PURPOSE: FieldRow with storage portals
  TODO: will eventually need a corresponding trait for display portals
*/
trait tFieldRow_Storage {
    abstract protected function GetStoragePortalsClass();
    public function GetStoragePortals() {
        $sClass = $this->GetStoragePortalsClass();
        return new $sClass($this);
    }
}