Ferreteria/v0.3/class/cPortalRow native

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v0.3‎ | class
Jump to: navigation, search
class cPortalRow_native extends cPortalRow {
    use tInternalStorage;

    protected function GetPortalType() {
        return cIOField::ksPortalNative;
    }
    
    protected function SetPortals_fromFields(array $arFields) {
        foreach ($arFields as $sKey => $oField) {
            $oPortal = $oField->MakeCalculator();
            $this->arPortals[$sKey] = $oPortal;
        }
    }
}