diff --git a/Configuration/ExtensionBuilder/settings.yaml b/Configuration/ExtensionBuilder/settings.yaml new file mode 100644 index 0000000..158479a --- /dev/null +++ b/Configuration/ExtensionBuilder/settings.yaml @@ -0,0 +1,93 @@ +# +# Extension Builder settings for extension tea +# generated 2013-11-01 +# +# See http://www.yaml.org/spec/1.2/spec.html +# + +--- + +########### Overwrite settings ########### +# +# These settings only apply, if the roundtrip feature of the extension builder +# is enabled in the extension manager +# +# Usage: +# nesting reflects the file structure +# a setting applies to a file or recursive to all files and subfolders +# +# merge: +# means for classes: All properties ,methods and method bodies +# of the existing class will be modified according to the new settings +# but not overwritten +# +# for locallang xml files: Existing keys and labels are always +# preserved (renaming in the GUI has only influence on the property and method names) +# +# for other files: You will find a Split token at the end of the file +# After this token you can write whatever you want and it will be appended +# everytime the code is generated +# +# keep: +# files are never overwritten +# These settings may break the functionality of the extension builder! +# Handle with care! +# +# + +############ extension settings ############## + +overwriteSettings: + Classes: + Controller: merge + Domain: + Model: merge + Repository: merge + + Configuration: + #TCA: merge + #TypoScript: keep + + Resources: + Private: + Language: + #locallang.xml: merge + #locallang.xlf: merge + #Templates: keep + + ext_icon.gif: keep + +# ext_localconf.php: merge + +# ext_tables.php: merge + +# ext_tables.sql: merge + +## ext_autoload.php is only needed in special cases ## +createAutoloadRegistry: false + +######### settings for classBuilder ############################# +# +# here you may define default parent classes for your classes +# these settings only apply for new generated classes +# you may also just change the parent class in the generated class file. +# It will be kept on next code generation, if the overwrite settings +# are configured to merge it +# +# Experimental!! +################################################################# + +classBuilder: + + Controller: + parentClass: \TYPO3\CMS\Extbase\Mvc\Controller\ActionController + + Model: + AbstractEntity: + parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractEntity + + AbstractValueObject: + parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject + + Repository: + parentClass: \TYPO3\CMS\Extbase\Persistence\Repository \ No newline at end of file diff --git a/ExtensionBuilder.json b/ExtensionBuilder.json new file mode 100644 index 0000000..e08a4fd --- /dev/null +++ b/ExtensionBuilder.json @@ -0,0 +1 @@ +{"modules":[],"properties":{"backendModules":[],"description":"This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.","emConf":{"category":"plugin","custom_category":"","dependsOn":"extbase => 6.0\nfluid => 6.0\ntypo3 => 6.0\n","disableLocalization":false,"disableVersioning":false,"priority":"","shy":false,"state":"alpha","targetVersion":"6.0","version":""},"extensionKey":"tea","name":"Tea example","originalExtensionKey":"","persons":[{"company":"oliverklee.de","email":"typo3-coding@oliverklee.de","name":"Oliver Klee","role":"Developer"}],"plugins":[],"vendorName":"OliverKlee"},"wires":[],"log":{"last_modified":"2013-11-01 07:50","extension_builder_version":"2.5.2","be_user":"Oliver Klee (1)"}} \ No newline at end of file diff --git a/Resources/Private/.htaccess b/Resources/Private/.htaccess new file mode 100644 index 0000000..dfc0272 --- /dev/null +++ b/Resources/Private/.htaccess @@ -0,0 +1 @@ +deny from all \ No newline at end of file diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf new file mode 100644 index 0000000..2fd9a76 --- /dev/null +++ b/Resources/Private/Language/locallang.xlf @@ -0,0 +1,9 @@ + + + +
+ + + + + \ No newline at end of file diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf new file mode 100644 index 0000000..2fd9a76 --- /dev/null +++ b/Resources/Private/Language/locallang_db.xlf @@ -0,0 +1,9 @@ + + + +
+ + + + + \ No newline at end of file diff --git a/Resources/Public/Icons/relation.gif b/Resources/Public/Icons/relation.gif new file mode 100644 index 0000000..db61d7e Binary files /dev/null and b/Resources/Public/Icons/relation.gif differ diff --git a/ext_emconf.php b/ext_emconf.php new file mode 100644 index 0000000..1ee7528 --- /dev/null +++ b/ext_emconf.php @@ -0,0 +1,44 @@ + 'Tea example', + 'description' => 'This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.', + 'category' => 'plugin', + 'author' => 'Oliver Klee', + 'author_email' => 'typo3-coding@oliverklee.de', + 'author_company' => 'oliverklee.de', + 'shy' => '', + 'priority' => '', + 'module' => '', + 'state' => 'alpha', + 'internal' => '', + 'uploadfolder' => '0', + 'createDirs' => '', + 'modify_tables' => '', + 'clearCacheOnLoad' => 0, + 'lockType' => '', + 'version' => '', + 'constraints' => array( + 'depends' => array( + 'extbase' => '6.0', + 'fluid' => '6.0', + 'typo3' => '6.0', + ), + 'conflicts' => array( + ), + 'suggests' => array( + ), + ), +); + +?> \ No newline at end of file diff --git a/ext_icon.gif b/ext_icon.gif new file mode 100644 index 0000000..1a832d4 Binary files /dev/null and b/ext_icon.gif differ diff --git a/ext_tables.php b/ext_tables.php new file mode 100644 index 0000000..25cb20c --- /dev/null +++ b/ext_tables.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/ext_tables.sql b/ext_tables.sql new file mode 100644 index 0000000..e69de29