Documentation TYPO3 par Ameos

tx_kickstarter_wizard Class Reference

Inheritance diagram for tx_kickstarter_wizard:

Inheritance graph
[legend]
Collaboration diagram for tx_kickstarter_wizard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 tx_kickstarter_wizard ()
 initWizArray ()
 mgm_wizard ()
 getFormContent ()
 totalForm ()
 sidemenu ()
 view_result ()
 add_cat_pi ()
 add_cat_ts ()
 add_cat_TSconfig ()
 add_cat_module ()
 add_cat_moduleFunction ()
 add_cat_cm ()
 add_cat_languages ()
 add_cat_services ()
 add_cat_emconf ()
 add_cat_save ()
 add_cat_fields ()
 add_cat_tables ()
 renderFieldOverview ($prefix, $fConf, $dontRemove=0)
 presetBox (&$piConfFields)
 cleanFieldsAndDoCommands ($fConf, $catID, $action)
 renderField ($prefix, $fConf, $dontRemove=0)
 currentFields ($addFields, $fArr)
 addOtherExtensionTables ($optValues)
 cleanUpFieldName ($str)
 whatIsThis ($str)
 renderStringBox_lang ($fieldName, $ffPrefix, $piConf)
 textSetup ($header, $content)
 resImg ($name, $p='align="center"', $pre="<BR>", $post="<BR>")
 resIcon ($name, $p="")
 path_resources ($subdir="res/")
 getOnChangeParts ($prefix)
 renderCheckBox ($prefix, $value, $defVal=0)
 renderTextareaBox ($prefix, $value)
 renderStringBox ($prefix, $value, $width=200)
 renderRadioBox ($prefix, $value, $thisValue)
 renderSelectBox ($prefix, $value, $optValues)
 wop ($prefix)
 wopText ($prefix)
 catHeaderLines ($lines, $k, $v, $altHeader="", $index="")
 linkCurrentItems ($cat)
 linkStr ($str, $wizSubCmd, $wizAction)
 bgCol ($n, $mod=0)
 regNewEntry ($k, $index)
 bwWithFlag ($str, $flag)
 makeUploadDataFromArray ($uploadArray)
 makeUploadArray ($extKey, $files)
 linkThisCmd ($uPA=array())
 fw ($str)
 piFieldName ($key)
 cmdHiddenField ()
 preWrap ($str)

Public Attributes

 $varPrefix = "kickstarter"
 $siteBackPath = ""
 $EMmode = 1
 $wizArray = array()
 $extKey_nusc = "myext"
 $extKey = "my_ext"
 $printWOP = 0
 $outputWOP = 0
 $saveKey = ""
 $pObj
 $afterContent
 $options
 $languages
 $reservedTypo3Fields = "uid,pid,endtime,starttime,sorting,fe_group,hidden,deleted,cruser_id,crdate,tstamp"
 $mysql_reservedFields = "data,table,field,key,desc"
 $selectedLanguages = array()
 $usedNames = array()
 $fileArray = array()
 $ext_tables = array()
 $ext_localconf = array()
 $ext_locallang = array()
 $color = array("#C8D0B3","#FEE7B5","#eeeeee")
 $modData

Detailed Description

TYPO3 Extension Repository

Author:
Kasper Skårhøj <kasperYYYY@typo3.com>

Definition at line 35 of file class.tx_kickstarter_wizard.php.


Member Function Documentation

tx_kickstarter_wizard::add_cat_cm  ) 
 

Renders form for addition of Click Menu items

Definition at line 789 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderCheckBox(), renderSelectBox(), renderStringBox_lang(), and resImg().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_emconf  ) 
 

Renders form for general settings

Definition at line 977 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderSelectBox(), and renderStringBox().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_fields  ) 
 

Renders form for addition of fields

Definition at line 1118 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), cleanFieldsAndDoCommands(), presetBox(), regNewEntry(), renderField(), renderSelectBox(), and whatIsThis().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_languages  ) 
 

Renders form for selection of language

Definition at line 839 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderCheckBox(), and textSetup().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_module  ) 
 

Renders form for backend modules

Definition at line 668 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderCheckBox(), renderSelectBox(), renderStringBox_lang(), and resImg().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_moduleFunction  ) 
 

Renders form for addition of Backend Module function-menu items

Definition at line 742 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderSelectBox(), renderStringBox_lang(), and resImg().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_pi  ) 
 

Renders form for addition of Plugins:

Definition at line 433 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderCheckBox(), renderRadioBox(), renderSelectBox(), renderStringBox(), renderStringBox_lang(), resImg(), tx_kickstarter_compilefiles::returnName(), and textSetup().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_save  ) 
 

Renders form for addition of Click Menu items

Definition at line 1069 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderSelectBox(), and textSetup().

tx_kickstarter_wizard::add_cat_services  ) 
 

Renders form for services

Definition at line 876 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), renderSelectBox(), and renderStringBox().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_tables  ) 
 

Renders form for addition of fields

Definition at line 1204 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), cleanFieldsAndDoCommands(), currentFields(), t3lib_div::inList(), presetBox(), regNewEntry(), renderCheckBox(), renderField(), renderFieldOverview(), renderSelectBox(), renderStringBox(), renderStringBox_lang(), resImg(), tx_kickstarter_compilefiles::returnName(), textSetup(), and whatIsThis().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_ts  ) 
 

Renders form for addition of TypoScript:

Definition at line 592 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), and renderTextareaBox().

Referenced by getFormContent().

tx_kickstarter_wizard::add_cat_TSconfig  ) 
 

Renders form for addition of TSconfig, Page and User

Definition at line 630 of file class.tx_kickstarter_wizard.php.

References t3lib_div::callUserFunction(), catHeaderLines(), regNewEntry(), and renderTextareaBox().

Referenced by getFormContent().

tx_kickstarter_wizard::fw str  ) 
 

Font wrap function; Wrapping input string in a tag with font family and font size set

Parameters:
string Input value
Returns:
string Wrapped input value.

Definition at line 2164 of file class.tx_kickstarter_wizard.php.

Referenced by mgm_wizard(), sidemenu(), and view_result().

tx_kickstarter_wizard::getFormContent  ) 
 

Get form content

Definition at line 226 of file class.tx_kickstarter_wizard.php.

References add_cat_cm(), add_cat_emconf(), add_cat_fields(), add_cat_languages(), add_cat_module(), add_cat_moduleFunction(), add_cat_pi(), add_cat_services(), add_cat_tables(), add_cat_ts(), and add_cat_TSconfig().

Referenced by mgm_wizard(), and totalForm().

tx_kickstarter_wizard::linkThisCmd uPA = array()  ) 
 

Getting link to this page + extra parameters, we have specified

Parameters:
array Additional parameters specified.
Returns:
string The URL

Definition at line 2153 of file class.tx_kickstarter_wizard.php.

References t3lib_div::linkThisScript().

tx_kickstarter_wizard::makeUploadArray extKey,
files
 

Make upload array out of extension

Definition at line 2122 of file class.tx_kickstarter_wizard.php.

Referenced by mgm_wizard().

tx_kickstarter_wizard::makeUploadDataFromArray uploadArray  ) 
 

Encodes extension upload array

Definition at line 2103 of file class.tx_kickstarter_wizard.php.

Referenced by mgm_wizard().

tx_kickstarter_wizard::renderFieldOverview prefix,
fConf,
dontRemove = 0
 

Author:
Luite van Zelst <luite@aegee.org>

Definition at line 1403 of file class.tx_kickstarter_wizard.php.

Referenced by add_cat_tables().

tx_kickstarter_wizard::sidemenu  ) 
 

Side menu

Definition at line 300 of file class.tx_kickstarter_wizard.php.

References bgCol(), bwWithFlag(), t3lib_div::callUserFunction(), fw(), t3lib_div::inList(), linkStr(), and totalForm().

tx_kickstarter_wizard::totalForm  ) 
 

Total form

Definition at line 270 of file class.tx_kickstarter_wizard.php.

References getFormContent().

Referenced by mgm_wizard(), and sidemenu().

tx_kickstarter_wizard::view_result  ) 
 

View result

Definition at line 363 of file class.tx_kickstarter_wizard.php.

References t3lib_div::formatSize(), fw(), t3lib_div::inList(), and tx_kickstarter_compilefiles::makeFilesArray().

Referenced by mgm_wizard().


Member Data Documentation

tx_kickstarter_wizard::$options
 

Initial value:

 array(
                "emconf" => array("General info", "Enter general information about the extension here: Title, description, category, author..."),
                "tables" => array("New Database Tables", "Add database tables which can be edited inside the backend. These tables will be added to the global TCA array in TYPO3.","cm.png"),
                "fields" => array("Extend existing Tables", "Add custom fields to existing tables, such as the 'pages', 'tt_content', 'fe_users' or 'be_users' table."),
                "pi" => array("Frontend Plugins", "Create frontend plugins. Plugins are web applications running on the website itself (not in the backend of TYPO3). The default guestbook, message board, shop, rating feature etc. are examples of plugins. Even this very interface (the Extension Kickstarter) is a plugin (extension key 'kickstarter')."),
                "module" => array("Backend Modules", "Create backend modules. A module is normally recognized as the application behind one of the TYPO3 backend menuitems. Examples are the Web>Page, Web>List, User>Setup, Doc module etc. In a more loose sense, all applications integrated with existing module (see below) also belongs to the 'module' category."),
                "moduleFunction" => array("Integrate in existing Modules", "Extend existing modules with new function-menu items. Examples are extensions such as 'User>Task Center, Messaging' which adds internal messaging to TYPO3. Or 'Web>Info, Page TSconfig' which shows the Page TSconfiguration for a page. Or 'Web>Func, Wizards, Sort pages' which is a wizard for re-ordering pages in a folder."),
                "cm" => array("Clickmenu items", "Adds a custom item to the clickmenus of database records. This is a very cool way to integrate small tools of your own in an elegant way!"),
                'sv' => array('Services', 'Create a Services class. With a Services extension you can extend TYPO3 (or an extension which use Services) with functionality, without any changes to the code which use that service.'),
                "ts" => array("Static TypoScript code", "Adds static TypoScript Setup and Constants code - just like a static template would do."),
                "TSconfig" => array("TSconfig", "Adds default Page-TSconfig or User-TSconfig. Can be used to preset options inside TYPO3."),
                "languages" => array("Setup languages", "Start here by entering the number of system languages you want to use in your extension."),
        )

Definition at line 51 of file class.tx_kickstarter_wizard.php.


The documentation for this class was generated from the following file:


Généré par TYPO3 Ameos avec  doxygen 1.4.6