phpDocumentor ZNF
Action
[ class tree: ZNF ] [ index: ZNF ] [ all elements ]

Class: ZNF_Action_Action

Source Location: /Action/Action.php

Class ZNF_Action_Action

Class Overview

ZNF_Action_Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic.

ZNF_Action_Action should be executed to process the request. The controller ZNF_Action_RequestProcessor selects an appropriate ZNF_Action_Action for each request, creates an instance and calls the ZNF_Action_Action->execute() method.

When a ZNF_Action_Action is created the controller requires all the classes for the action requested. Subclasses must override the ZNF_Action_Action->execute() method to implement the dispatching mechanism for the action.

Located in /Action/Action.php [line 46]



		
				Author(s):
		
		
		API Tags:
Access:  public

Information Tags:
Version:  SVN $Id: Action.php 43 2007-06-26 23:36:35Z aronnax $
Copyright:  2004-2007 The ZNF Development Team
Link:  http://www.zeronotice.org
Since:  Release 0.5.0
License:  LGPL

Methods

[ Top ]
Method Summary
ZNF_Action_Action   __construct()   Constructs a new ZNF_Action_Action object.
void   __destruct()   Destroys the ZNF_Action_Action object.
ZNF_Action_ActionForward   execute()   Code to execute the action, must be implemented by subclasses.

[ Top ]
Methods
Constructor __construct  [line 54]

  ZNF_Action_Action __construct( )

Constructs a new ZNF_Action_Action object.


API Tags:
Access:  public


[ Top ]
Destructor __destruct  [line 79]

  void __destruct( )

Destroys the ZNF_Action_Action object.


API Tags:
Access:  public


[ Top ]
execute  [line 69]

Code to execute the action, must be implemented by subclasses.

By default this method returns null, so no error or warning are displayed if the subclass doesn't implement it.

Parameters:
ZNF_Action_ActionForm   $form: 
ZNF_Action_ActionMapping   $mapping: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Wed, 14 Nov 2007 23:47:32 +0100 by phpDocumentor 1.4.0