mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 11:16:13 +01:00
[FEATURE] Add the basic extension data.
This commit is contained in:
parent
fb151cbbb1
commit
fddb3ce216
10 changed files with 165 additions and 0 deletions
93
Configuration/ExtensionBuilder/settings.yaml
Normal file
93
Configuration/ExtensionBuilder/settings.yaml
Normal file
|
@ -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
|
1
ExtensionBuilder.json
Normal file
1
ExtensionBuilder.json
Normal file
|
@ -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)"}}
|
1
Resources/Private/.htaccess
Normal file
1
Resources/Private/.htaccess
Normal file
|
@ -0,0 +1 @@
|
||||||
|
deny from all
|
9
Resources/Private/Language/locallang.xlf
Normal file
9
Resources/Private/Language/locallang.xlf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
|
<xliff version="1.0">
|
||||||
|
<file source-language="en" datatype="plaintext" original="messages" date="2013-11-01T19:50:01Z" product-name="tea">
|
||||||
|
<header/>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</file>
|
||||||
|
</xliff>
|
9
Resources/Private/Language/locallang_db.xlf
Normal file
9
Resources/Private/Language/locallang_db.xlf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
|
<xliff version="1.0">
|
||||||
|
<file source-language="en" datatype="plaintext" original="messages" date="2013-11-01T19:50:01Z" product-name="tea">
|
||||||
|
<header/>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</file>
|
||||||
|
</xliff>
|
BIN
Resources/Public/Icons/relation.gif
Normal file
BIN
Resources/Public/Icons/relation.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
44
ext_emconf.php
Normal file
44
ext_emconf.php
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/***************************************************************
|
||||||
|
* Extension Manager/Repository config file for ext: "tea"
|
||||||
|
*
|
||||||
|
* Auto generated by Extension Builder 2013-11-01
|
||||||
|
*
|
||||||
|
* Manual updates:
|
||||||
|
* Only the data in the array - anything else is removed by next write.
|
||||||
|
* "version" and "dependencies" must not be touched!
|
||||||
|
***************************************************************/
|
||||||
|
|
||||||
|
$EM_CONF[$_EXTKEY] = array(
|
||||||
|
'title' => '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(
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
?>
|
BIN
ext_icon.gif
Normal file
BIN
ext_icon.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 B |
8
ext_tables.php
Normal file
8
ext_tables.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
if (!defined('TYPO3_MODE')) {
|
||||||
|
die ('Access denied.');
|
||||||
|
}
|
||||||
|
|
||||||
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Tea example');
|
||||||
|
|
||||||
|
?>
|
0
ext_tables.sql
Normal file
0
ext_tables.sql
Normal file
Loading…
Reference in a new issue