CookieSetCommand Class Reference
[Behaviour]
Inheritance diagram for
CookieSetCommand:
Public Member Functions |
|
__construct ($name, $data, $duration) | |
execute () | |
Executes commands. |
|
get_name () | |
Returns title of command. |
|
Protected Attributes |
|
$data | |
$duration | |
$name |
Detailed Description
Sets a Cookie.
Definition at line 8 of file cookie.set.cmd.php.
Constructor & Destructor Documentation
CookieSetCommand::__construct | ( | $ | name, | |
$ | data, | |||
$ | duration | |||
) |
Definition at line 13 of file cookie.set.cmd.php.
Member Function Documentation
CookieSetCommand::execute | ( | ) |
Executes commands.
- Returns:
- Status
Reimplemented from CommandBase.
Definition at line 28 of file cookie.set.cmd.php.
00028 { 00029 Cookie::create($this->name, $this->data, $this->duration); 00030 return parent::execute(); 00031 }
CookieSetCommand::get_name | ( | ) |
Returns title of command.
Reimplemented from CommandBase.
Definition at line 36 of file cookie.set.cmd.php.
Member Data Documentation
CookieSetCommand::$data
[protected] |
Definition at line 10 of file cookie.set.cmd.php.
CookieSetCommand::$duration
[protected] |
Definition at line 11 of file cookie.set.cmd.php.
CookieSetCommand::$name
[protected] |
Definition at line 9 of file cookie.set.cmd.php.
The documentation for this class was generated from the following file:
- gyro/core/behaviour/commands/generics/cookie.set.cmd.php