.

ActionBase Class Reference
[Behaviour]

Simple implementation of an action. More...

Inheritance diagram for ActionBase:
IAction

List of all members.

Public Member Functions

  __construct ($item, $title, $description= '')
  get_description ()
  Returns a description of this action.
  get_instance ()
  Returns the object this actionworks upon.
  get_name ()
  Returns title of action.

Protected Attributes

  $description = ''
  $inst = null
  $title = ''

Detailed Description

Simple implementation of an action.

Definition at line 7 of file actionbase.cls.php.


Constructor & Destructor Documentation

ActionBase::__construct ( item,
title,
description = ''  
)

Definition at line 27 of file actionbase.cls.php.

00027                                                                       {
00028                 $this->inst = $item;
00029                 $this->title = $title;
00030                 $this->description = $description;              
00031         }

Member Function Documentation

ActionBase::get_description (  ) 

Returns a description of this action.

Returns:
string

Implements IAction.

Definition at line 47 of file actionbase.cls.php.

00047                                           {
00048                 return $this->description;      
00049         }
ActionBase::get_instance (  ) 

Returns the object this actionworks upon.

Returns:
mixed

Implements IAction.

Definition at line 56 of file actionbase.cls.php.

00056                                        {
00057                 return $this->inst;
00058         }               
ActionBase::get_name (  ) 

Returns title of action.

Returns:
string

Implements IAction.

Definition at line 38 of file actionbase.cls.php.

00038                                    {
00039                 return $this->title;
00040         }

Member Data Documentation

ActionBase::$description = '' [protected]

Definition at line 25 of file actionbase.cls.php.

ActionBase::$inst = null [protected]

Definition at line 13 of file actionbase.cls.php.

ActionBase::$title = '' [protected]

Definition at line 19 of file actionbase.cls.php.


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