Ferreteria/v0.3/class/cPortalRow

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Revision as of 20:23, 28 December 2018 by htyp>Woozle (Created page with "{{page/code/class|ferreteria}} <source lang=php> abstract class cPortalRow { public function __construct(cIORow $rs) { protected function SetRowObject(cIORow $rs) {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Page/code/class

abstract class cPortalRow {
    public function __construct(cIORow $rs) {
    protected function SetRowObject(cIORow $rs) {
    // PUBLIC because some operations return PortalRow objects and we need to get back to the Row object
    public function GetRowObject() : cIORow {
    abstract protected function GetPortalType();
    abstract protected function SetPortals_fromFields(array $arFields);
    protected function GetPortal($sKey) : cFieldPortal {
    /*----
      ACTION: load the row from portal's external format
        and delete any values not specified in the input
      PUBLIC so flow controllers can use it
    */
    public function LoadRow_fromArray(array $ar) {
}