.

CookieDeleteCommand Class Reference
[Behaviour]

Delete a Cookie. More...

Inheritance diagram for CookieDeleteCommand:
CommandBase ICommand IAction ISerializable

List of all members.

Public Member Functions

  __construct ($name)
  execute ()
  Executes commands.
  get_name ()
  Returns title of command.

Protected Attributes

  $name

Detailed Description

Delete a Cookie.

Author:
Gerd Riesselmann

Definition at line 8 of file cookie.delete.cmd.php.


Constructor & Destructor Documentation

CookieDeleteCommand::__construct ( name  ) 

Definition at line 11 of file cookie.delete.cmd.php.

00011                                            {
00012                 $this->name = $name;
00013         }

Member Function Documentation

CookieDeleteCommand::execute (  ) 

Executes commands.

Returns:
Status

Reimplemented from CommandBase.

Definition at line 24 of file cookie.delete.cmd.php.

00024                                   {
00025                 Cookie::delete($this->name);
00026                 return parent::execute();
00027         }
CookieDeleteCommand::get_name (  ) 

Returns title of command.

Reimplemented from CommandBase.

Definition at line 32 of file cookie.delete.cmd.php.

00032                                    {
00033                 return 'cookie.delete';
00034         }       

Member Data Documentation

CookieDeleteCommand::$name [protected]

Definition at line 9 of file cookie.delete.cmd.php.


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