phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Data Fields
PntFormNavValue Class Reference

Inherits PntXmlNavValue.

Inherited by PntFormMtoNRelValue.

Public Member Functions

 initPropertyDescriptors ()
 
 getMarkupWith ($item)
 
 getContentLabelWith ($item)
 
 getContentWith ($item)
 
 getContentFrom ($item)
 
 initConverter ($conv)
 
 setConvertMarkup ($value=false)
 
 commit ()
 
 getItemToSetOn ($item)
 
 getError ()
 
 setItem ($item)
 
 initProp ($itemType)
 
 getFormKey ()
 
 getNavKey ()
 
 usesIdProperty ()
 
 isReadOnly ()
 
- Public Member Functions inherited from PntXmlNavValue
 __construct ($whole, $itemType='Array', $path=null)
 
 isAlwaysVisible ()
 
 setAlwaysVisible ($value)
 
 getError ()
 
 isReadOnly ()
 
 setReadOnly ($value)
 
- Public Member Functions inherited from PntXmlNavText
 __construct ($whole, $itemType='Array', $path=null)
 
 initPropertyDescriptors ()
 
 setPath ($path, $itemType=null)
 
 getPath ()
 
 getContentType ()
 
 getDecimalPrecision ()
 
 getNavigation ()
 
 setNavigation ($value)
 
 getLabel ()
 
 getPathLabel ()
 
 setPathLabel ($value)
 
 getFormKey ()
 
 initConverter ($conv)
 
 getContentWith ($item)
 
- Public Member Functions inherited from PntXmlTextPart
 __construct ($whole, $markup=null, $content=null, $contentType='string', $decimalPrecision=2)
 
 getLabel ()
 
 getContent ()
 
 getContentWith ($item)
 
 setContent ($value)
 
 getMarkupWith ($item)
 
 getContentLabelWith ($item)
 
 getConverterDefault ()
 
 setConverter ($conv)
 
 initConverter ($conv)
 
 setContentLabel ($string)
 
 setRequestString ($requestString)
 
 setMarkup ($value)
 
 setPreformat ($value)
 
 merge ($template, $content)
 
 getContentType ()
 
 setContentType ($value)
 
 getDecimalPrecision ()
 
 setDecimalPrecision ($value)
 
- Public Member Functions inherited from PntXmlPart
 __construct ($whole)
 
 initFrom ($whole)
 
 getConverter ()
 
 getConverterDefault ()
 
 setConverter ($value)
 
 addElement ($value)
 
 addElements (&$arr)
 
getElements ()
 
 getParts ()
 
getAttributes ()
 
 initParts ()
 
 getMarkupWith ($item)
 
 getMarkupContent ($item)
 
 getMarkup ()
 
- Public Member Functions inherited from PntObject
 __construct ()
 
 copy ()
 
 getClass ()
 
 getClassDescriptor ()
 
 initPropertyDescriptors ()
 
 getOid ()
 
 addFieldProp ($name, $type, $readOnly=false, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null, $persistent=true)
 
 addDerivedProp ($name, $type, $readOnly=true, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null)
 
 addMultiValueProp ($name, $type, $readOnly=true, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null)
 
 getPropertyDescriptor ($propertyName)
 
 get ($propertyName, $filter=true)
 
 set ($propertyName, $value)
 
 getOptions ($name, $filter=true)
 
 getValueValidator ($prop)
 
 validateGetErrorString ($prop, $value, $validateReadOnly=true)
 
 basicGetLabel ()
 
 getLabel ()
 
 __toString ()
 
 release ()
 
 getEditInfo ()
 
 toString ()
 
 _getValueValidator ($prop)
 

Data Fields

 $item
 
 $prop
 
 $error
 
- Data Fields inherited from PntXmlNavValue
 $navigation
 
 $isAlwaysVisible = true
 
- Data Fields inherited from PntXmlNavText
 $navigation
 
- Data Fields inherited from PntXmlTextPart
 $content
 
 $contentLabel
 
 $markup
 
 $preformat = false
 
- Data Fields inherited from PntXmlPart
 $elements
 
 $converter
 

Additional Inherited Members

- Static Public Member Functions inherited from PntXmlNavText
static formKeyFrom ($path)
 

Member Function Documentation

commit ( )

sets the already converted value on the item

Exceptions
PntError
getContentFrom (   $item)
getContentLabelWith (   $item)

The label of the content. contentLabel is either set by PntRequestHandler or obtained by converting content

getContentWith (   $item)
getError ( )
getFormKey ( )
Returns
string must be according to checkAlphaNumeric Key that can be used as value for the name attribute of an input tag in a form
getItemToSetOn (   $item)
getMarkupWith (   $item)
getNavKey ( )
initConverter (   $conv)
initProp (   $itemType)
initPropertyDescriptors ( )
isReadOnly ( )
setConvertMarkup (   $value = false)

sets the value from the form, converts it, but does not set the value on the item.

setItem (   $item)
usesIdProperty ( )

Field Documentation

$error
$item
$prop

The documentation for this class was generated from the following file: