oxField Class Reference

Collaboration diagram for oxField:

Collaboration graph
[legend]

List of all members.


Detailed Description

Database field description object.

Public Member Functions

 __construct ($value=null, $type=self::T_TEXT)
 __isset ($name)
 __get ($name)
 __toString ()
 convertToFormattedDbDate ()
 convertToPseudoHtml ()
 setValue ($value=null, $type=self::T_TEXT)
 getRawValue ()

Public Attributes

const T_TEXT = 1
const T_RAW = 2

Protected Member Functions

 _initValue ($value=null, $type=self::T_TEXT)

Constructor & Destructor Documentation

oxField.__construct ( value = null,
type = self::T_TEXT 
)

constructor initial value assigment is coded here by not calling a function is for performance because oxField is created MANY times and even a function call matters

Parameters:
mixed $value
int $type


Member Function Documentation

oxField.__isset ( name  ) 

checks if $name is set

Parameters:
string $name
Returns:
boolean

oxField.__get ( name  ) 

magic getter

Parameters:
string $name
Returns:
string | null

oxField.__toString (  ) 

TODO: remove this

Returns:
unknown

oxField.convertToFormattedDbDate (  ) 

converts to formatted db date

Returns:
null

oxField.convertToPseudoHtml (  ) 

converts to pseudo html - new lines to
tags

Returns:
null

oxField._initValue ( value = null,
type = self::T_TEXT 
) [protected]

oxField.setValue ( value = null,
type = self::T_TEXT 
)

setter

Returns:
null

oxField.getRawValue (  ) 

return raw value

Returns:
string


Member Data Documentation

const oxField.T_TEXT = 1

const oxField.T_RAW = 2


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

Generated on Wed Oct 29 23:44:24 2008 for OXID eShop CE by  doxygen 1.5.5