n2n Page Rocket 1 API

n2n\impl\web\dispatch\mag\model

­String­Mag

StringMag extends MagAdapter
Class StringMag

All Implemented Interfaces:

SubTypes

Methods summary

Modifier and Type Method
public __construct ( unknown label , null value = null , bool mandatory = false , int|null maxlength = null , bool multiline = false , array|null attrs = null , array|null inputAttrs = null )
public setMandatory ( bool mandatory )
public bool isMandatory ( )
public setMaxlength ( int|null maxlength = null )
public int|null getMaxlength ( )
public setMultiline ( bool multiline )
public bool isMultiline ( )
public setInputAttrs ( array inputAttrs )
public array getInputAttrs ( )
public ManagedProperty createManagedProperty ( AccessProxy accessProxy )
public setupBindingDefinition ( BindingDefinition bd )
public UiComponent createUiField ( PropertyPath propertyPath , HtmlView view , UiOutfitter uo )

Methods in detail

  • __construct

    public __construct ( unknown label , null value = null , bool mandatory = false , int|null maxlength = null , bool multiline = false , array|null attrs = null , array|null inputAttrs = null )
    StringMag constructor.
    param
    $label
    null value
    bool mandatory
    int|null maxlength
    bool multiline
    array|null attrs
    array|null inputAttrs
  • setMandatory

    public setMandatory ( bool mandatory )
    param
    bool mandatory
  • isMandatory

    bool public isMandatory ( )
    return
    bool
  • setMaxlength

    public setMaxlength ( int|null maxlength = null )
    param
    int|null maxlength
  • getMaxlength

    int|null public getMaxlength ( )
    return
    n2n\impl\web\dispatch\mag\model\int|null
  • setMultiline

    public setMultiline ( bool multiline )
    param
    bool multiline
  • isMultiline

    bool public isMultiline ( )
    return
    bool
  • setInputAttrs

    public setInputAttrs ( array inputAttrs )
    param
    array inputAttrs
  • getInputAttrs

    array public getInputAttrs ( )
    return
    array
  • createManagedProperty

    ManagedProperty public createManagedProperty ( AccessProxy accessProxy )
    Specified: Mag
  • setupBindingDefinition

    public setupBindingDefinition ( BindingDefinition bd )
    Specified: Mag
  • createUiField

    UiComponent public createUiField ( PropertyPath propertyPath , HtmlView view , UiOutfitter uo )
    Specified: Mag