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

Inherits PntXmlPart.

Inherited by PntXmlNavText, and PntXmlTotalText.

Public Member Functions

 __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)
 

Static Public Member Functions

 initPropertyDescriptors ()
 
- Static Public Member Functions inherited from PntXmlPart
 initPropertyDescriptors ()
 
- Static Public Member Functions inherited from PntObject
static isPersistent ()
 
static getClassDescriptorClass ()
 
static getClassDir ()
 
static getClassLabel ()
 
static getUiColumnPaths ()
 
static getReportColumnPaths ()
 
static getUiFieldPaths ($clsDes)
 
static newNavigation ($key, $itemType)
 

Data Fields

 $content
 
 $contentLabel
 
 $markup
 
 $preformat = false
 
- Data Fields inherited from PntXmlPart
 $elements
 
 $converter
 

Constructor & Destructor Documentation

__construct (   $whole,
  $markup = null,
  $content = null,
  $contentType = 'string',
  $decimalPrecision = 2 
)

Member Function Documentation

getContent ( )
getContentLabelWith (   $item)
getContentType ( )
getContentWith (   $item)
getConverterDefault ( )
getDecimalPrecision ( )
getLabel ( )
getMarkupWith (   $item)

Merges the template in $this->markup with the contenLabel got from the content

initConverter (   $conv)
initPropertyDescriptors ( )
static
Returns
String the name of the database table the instances are stored in - override for each subclass
merge (   $template,
  $content 
)
setContent (   $value)
setContentLabel (   $string)
setContentType (   $value)
setConverter (   $conv)
setDecimalPrecision (   $value)
setMarkup (   $value)
setPreformat (   $value)

Sets wheather and how the content should be converted as preformatted.

Parameters
integer$valuethe number of spaces per tab, or 0 for no preformat
setRequestString (   $requestString)

Field Documentation

$content
$contentLabel
$markup
$preformat = false

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