Ferreteria/v0.3/class/tFieldRow Storage: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(oops, was wrong code)
m (4 revisions imported: moving this project here)
 
(2 intermediate revisions by one other user not shown)
(No difference)

Latest revision as of 16:43, 22 May 2022

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