CreateBinariesBaseCommand Class Reference
[Binaries]
Create a binary, including binaray data. More...
Inheritance diagram for
CreateBinariesBaseCommand:
Protected Member Functions |
|
do_execute () | |
Execute this command. |
Detailed Description
Create a binary, including binaray data.
Definition at line 10 of file createbinaries.cmd.php.
Member Function Documentation
CreateBinariesBaseCommand::do_execute | ( | ) | [protected] |
Execute this command.
Reimplemented from CreateCommand.
Definition at line 14 of file createbinaries.cmd.php.
00014 { 00015 $ret = new Status(); 00016 00017 $ret->merge(parent::do_execute()); 00018 if ($ret->is_ok()) { 00019 $params = array( 00020 'id_binary' => $this->get_result()->id, 00021 'data' => Arr::get_item($this->get_params(), 'data', '') 00022 ); 00023 $cmd = CommandsFactory::create_command('binariesdata', 'create', $params); 00024 $ret->merge($cmd->execute()); 00025 } 00026 00027 return $ret; 00028 }
The documentation for this class was generated from the following file:
- contributions/binaries/behaviour/commands/base/createbinaries.cmd.php