Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
require_once(TOOLKIT . '/class.event.php'); | ||
|
||
Class EventMass_Upload_Utility_Entry extends Event{ | ||
|
||
const ROOTELEMENT = 'response'; | ||
|
||
public $eParamFILTERS = array(); | ||
|
||
public static function about(){ | ||
return array( | ||
'name' => 'Mass Upload Utility: Create an Entry', | ||
'author' => array( | ||
'name' => 'Scott Tesoriere', | ||
'website' => 'http://tesoriere.com', | ||
'email' => 'scott@tesoriere.com'), | ||
'version' => '1.0', | ||
'release-date' => '2009-11-13T11:35:07+00:00', | ||
'trigger-condition' => 'action[api]'); | ||
} | ||
|
||
public static function getSource(){ | ||
return contentExtensionMassUploadUtilityIndex::getSectionId(); | ||
} | ||
|
||
public static function documentation(){ | ||
return ''; | ||
} | ||
|
||
public function load(){ | ||
return $this->__trigger(); | ||
} | ||
|
||
protected function __trigger(){ | ||
|
||
include(TOOLKIT . '/events/event.section.php'); | ||
return $result; | ||
} | ||
|
||
} |