Ferreteria/v0.3/class/tFieldRow Storage

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
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);
    }
}