Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitViewUserMessageModel

Core::View::arbitViewUserMessageModel

Class arbitViewUserMessageModel

Model struct representing user errors.

Model struct representing user errors.

Implements interfaces:

arbitBaseStruct
   |
   --arbitViewModel
      |
      --arbitViewUserMessageModel
Author(s):
Version:   $Revision: 1236 $
License:   GPL

Descendants

Child Class Description
arbitViewUserSuccessModel Model struct representing user success messages.

Member Variables

protected array $properties = array(
'text' => null,
'values' => null,
)

Array containing the actual view data.

Array containing the actual view data.

Method Summary

public void __construct( [ $text = ''] , [ $values = array()] )
Construct project view model from common values
public string getText( )
Get message
public array getTextValues( )
Get properties Get text properties containing the values, which should replace the placeholders in the message.

Inherited Methods

From arbitViewModel
public array arbitViewModel::getProperties()
Return an array with the available properties Returns an array containing the keys of all properties which are set in the view model.
From arbitBaseStruct
protected void arbitBaseStruct::deepClone()
Deep clone array structures
public array arbitBaseStruct::getProperties()
Get property names Returns an arary with all properties defined in this struct.
public void arbitBaseStruct::__clone()
Method called, when struct ist cloned

Methods

__construct

void __construct( [string $text = ''] , [ $values = array()] )

Construct project view model from common values

Construct project view model from common values

Parameters:
Name Type Description
$text string
$values array

getText

string getText( )

Get message

Get message Get raw exception message without replaced placeholders

Implementation of:
Method Description
arbitTranslateable::getText() Get message

getTextValues

array getTextValues( )

Get properties Get text properties containing the values, which should replace the placeholders in the message.

Get properties Get text properties containing the values, which should replace the placeholders in the message.

Implementation of:
Method Description
arbitTranslateable::getTextValues() Get properties Get text properties containing the values, which should replace the placeholders in the message.
Documentation generated on Mon, 05 Apr 2010 14:01:50 +0200 by phpDocumentor 1.4.3