n2n Page Rocket 1 API

n2n\web\dispatch\mag

­Mag­Collection

MagCollection
Class MagCollection

Constant summary

Methods summary

Modifier and Type Method
public MagWrapper addMag ( string propertyName , Mag mag )
public Mag getMagByPropertyName ( string propertyName )
public MagWrapper getMagWrapperByPropertyName ( string propertyName )
public bool containsPropertyName ( string propertyName )
public removeMagByPropertyName ( string propertyName )
public bool isEmpty ( )
public MagWrapper [] getMagWrappers ( )
public array getPropertyNames ( )
public array readFormValues ( )
public array readValues ( array|null propertyNames = null , bool ignoreUnknown = false )
public writeValues ( array values )
public setupMappingDefinition ( MappingDefinition md )
public setupBindingDefinition ( BindingDefinition bd )

Constants in detail

  • CONTROL_WRAPPER_CLASS

    ­ const CONTROL_WRAPPER_CLASS ­
  • CONTROL_ADD_CLASS

    ­ const CONTROL_ADD_CLASS ­
  • CONTROL_REMOVE_CLASS

    ­ const CONTROL_REMOVE_CLASS ­

Methods in detail

  • addMag

    MagWrapper public addMag ( string propertyName , Mag mag )
    param
    string propertyName
    return
  • getMagByPropertyName

    Mag public getMagByPropertyName ( string propertyName )
    param
    string propertyName
    return
  • getMagWrapperByPropertyName

    MagWrapper public getMagWrapperByPropertyName ( string propertyName )
    param
    string propertyName
    throws
    return
  • containsPropertyName

    bool public containsPropertyName ( string propertyName )
    param
    string propertyName
    return
    bool
  • removeMagByPropertyName

    public removeMagByPropertyName ( string propertyName )
    param
    $propertyName
  • isEmpty

    bool public isEmpty ( )
    return
    bool
  • getMagWrappers

    MagWrapper public getMagWrappers ( )
  • getPropertyNames

    array public getPropertyNames ( )
    return
    array
  • readFormValues

    array public readFormValues ( )
    return
    array
  • readValues

    array public readValues ( array|null propertyNames = null , bool ignoreUnknown = false )
    param
    array|null propertyNames
    bool ignoreUnknown
    return
    array
  • writeValues

    public writeValues ( array values )
    param
    array values
  • setupMappingDefinition

    public setupMappingDefinition ( MappingDefinition md )
  • setupBindingDefinition

    public setupBindingDefinition ( BindingDefinition bd )