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
1 parent
6acc035
commit b7e7e47
Showing
1 changed file
with
34 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,39 @@ | ||
<?php | ||
|
||
require_once(EXTENSIONS . '/xmlimporter/lib/class.xmlimporter.php'); | ||
require_once(EXTENSIONS . '/xmlimporter/lib/class.xmlimporter.php'); | ||
|
||
class XMLImporter%s extends XMLImporter { | ||
public function about() { | ||
return array( | ||
'name' => %s, | ||
'author' => array( | ||
'name' => %s, | ||
'email' => %s | ||
), | ||
'description' => %s, | ||
'file' => __FILE__, | ||
'created' => %s, | ||
'updated' => %s | ||
); | ||
} | ||
class XMLImporter%s extends XMLImporter { | ||
public function about() | ||
{ | ||
return array( | ||
'name' => %s, | ||
'author' => array( | ||
'name' => %s, | ||
'email' => %s | ||
), | ||
'description' => %s, | ||
'file' => __FILE__, | ||
'created' => %s, | ||
'updated' => %s | ||
); | ||
} | ||
|
||
public function options() { | ||
return array( | ||
'can-update' => %s, | ||
'fields' => %s, | ||
'included-elements' => %s, | ||
'namespaces' => %s, | ||
'source' => %s, | ||
'timeout' => %s, | ||
'section' => %s, | ||
'unique-field' => %s | ||
); | ||
} | ||
|
||
public function allowEditorToParse() { | ||
return true; | ||
} | ||
} | ||
public function options() | ||
{ | ||
return array( | ||
'can-update' => %s, | ||
'fields' => %s, | ||
'included-elements' => %s, | ||
'namespaces' => %s, | ||
'source' => %s, | ||
'timeout' => %s, | ||
'section' => %s, | ||
'unique-field' => %s | ||
); | ||
} | ||
|
||
public function allowEditorToParse() | ||
{ | ||
return true; | ||
} | ||
} |