XCube
The foundational Core of XoopsCube Legacy
 
Loading...
Searching...
No Matches
XCube_PropertyInterface Class Reference
Inheritance diagram for XCube_PropertyInterface:
XCube_AbstractProperty XCube_GenericArrayProperty XCube_BoolProperty XCube_FileProperty XCube_FloatProperty XCube_IntProperty XCube_StringProperty XCube_TextProperty XCube_AbstractArrayProperty XCube_BoolArrayProperty XCube_FileArrayProperty XCube_FloatArrayProperty XCube_IntArrayProperty XCube_StringArrayProperty XCube_TextArrayProperty

Public Member Functions

 __construct ( $name)
 Constructor.
 
 set ( $value)
 [Abstract] Sets $value as raw value to this property. And the value is defined by the property's type'.
 
 get ()
 [Abstract] Gets the value of this property.
 
 setValue ( $arg0=null, $arg1=null)
 
 getValue ( $arg0=null)
 
 isArray ()
 [Abstract] Gets a value indicating whether this object expresses Array.
 
 isNull ()
 [Abstract] Gets a value indicating whether this object is null.
 
 toNumber ()
 [Abstract] Gets a value as integer.
 
 toString ()
 [Abstract] Gets a value as string.
 
 toHTML ()
 [Abstract] Gets a value as encoded HTML code.
 
 hasFetchControl ()
 [Abstract] Gets a value indicating whether this object has a fetch control.
 
 fetch (&$form)
 

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ fetch()

fetch ( & $form)

[Abstract] Fetches values.

Parameters
XCube_ActionForm$form
Returns
void

Reimplemented in XCube_FileArrayProperty, and XCube_FileProperty.

◆ get()

get ( )

[Abstract] Gets the value of this property.

Returns
mixed

◆ getValue()

getValue ( $arg0 = null)
Parameters
null$arg0
Returns
mixed
Deprecated

◆ hasFetchControl()

hasFetchControl ( )

[Abstract] Gets a value indicating whether this object has a fetch control.

Returns
void

Reimplemented in XCube_AbstractProperty, XCube_FileArrayProperty, XCube_FileProperty, and XCube_GenericArrayProperty.

◆ isArray()

isArray ( )

[Abstract] Gets a value indicating whether this object expresses Array.

Returns
void

Reimplemented in XCube_AbstractProperty, and XCube_GenericArrayProperty.

◆ isNull()

isNull ( )

[Abstract] Gets a value indicating whether this object is null.

Returns
void

Reimplemented in XCube_AbstractProperty, XCube_FileProperty, and XCube_GenericArrayProperty.

◆ set()

set ( $value)

[Abstract] Sets $value as raw value to this property. And the value is defined by the property's type'.

Parameters
mixed$value

Reimplemented in XCube_AbstractProperty, XCube_BoolProperty, XCube_FloatProperty, XCube_IntProperty, XCube_StringProperty, and XCube_TextProperty.

◆ setValue()

setValue ( $arg0 = null,
$arg1 = null )
Parameters
null$arg0
null$arg1
Deprecated

◆ toHTML()

toHTML ( )

[Abstract] Gets a value as encoded HTML code.

Returns
string - HTML
Deprecated

Reimplemented in XCube_AbstractProperty, and XCube_GenericArrayProperty.

◆ toNumber()

toNumber ( )

[Abstract] Gets a value as integer.

Returns
void

Reimplemented in XCube_AbstractProperty, XCube_FileProperty, XCube_GenericArrayProperty, XCube_StringProperty, and XCube_TextProperty.

◆ toString()

toString ( )

[Abstract] Gets a value as string.

Returns
string

Reimplemented in XCube_AbstractProperty, XCube_FileProperty, and XCube_GenericArrayProperty.


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