Class PHRUTS_ActionError

Description

An encapsulation of an individual error message returned by the validate() method of an PHRUTS_ActionForm.

Consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text.

  • author: John WILDENAUER <jwilde@users.sourceforge.net> (PHP4 port of Struts)
  • author: Olivier HENRY <oliv.henry@gmail.com> (PHP5 port of Struts)
  • version: $Id: PHRUTS_ActionError.php,v 1.1 2008/05/21 15:16:12 ohenry Exp $
  • copyright: Copyright PHruts 2008

Located in /action/PHRUTS_ActionError.php (line 35)


	
			
Variable Summary
string $key
array $values
Method Summary
PHRUTS_ActionError __construct (string $key, [string $value0 = ''], [string $value1 = ''], [string $value2 = ''], [string $value3 = ''])
string getKey ()
array getValues ()
Variables
string $key = null (line 41)

The message key for this message.

  • access: protected
array $values = null (line 48)

The replacement values for this message.

  • access: protected
Methods
Constructor __construct (line 59)

Construct an action message with the specified replacement values.

  • access: public
PHRUTS_ActionError __construct (string $key, [string $value0 = ''], [string $value1 = ''], [string $value2 = ''], [string $value3 = ''])
  • string $key: The Message key for this message
  • string $value0: First replacement value
  • string $value1: Second replacement value
  • string $value2: Third replacement value
  • string $value3: Fourth replacement value
getKey (line 72)

Get the message key for this message.

  • access: public
string getKey ()
getValues (line 81)

Get the replacement values for this message.

  • access: public
array getValues ()

Documentation generated on Sat, 31 May 2008 15:45:49 +0200 by phpDocumentor 1.4.1