Solutions Open Source

Référence de la classe SC_mod_user_ws_workspaceForms

Graphe d'héritage de SC_mod_user_ws_workspaceForms:

Inheritance graph
[légende]
Graphe de collaboration de SC_mod_user_ws_workspaceForms:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 init ()
 main ()
 printContent ()
 initTCEForms ()
 getModuleParameters ()
 getTitle ()
 buildForm ()
 buildEditForm ()
 buildNewForm ()
 createButtons ()
 getOwnerUser ($uid)
 processData ()
 fixVariousTCAFields ()
 fixTCAUserField ($fieldName)
 checkWorkspaceAccess ()

Attributs publics

 $MCONF = array()
 $MOD_MENU = array()
 $MOD_SETTINGS = array()
 $doc
 $content
 $isEditAction = false
 $workspaceId
 $tceforms


Documentation des fonctions membres

SC_mod_user_ws_workspaceForms::init (  ) 

Initializes the module. See t3lib_SCbase::init() for more information.

Renvoie:
void

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::main (  ) 

Creates module content.

Renvoie:
void

SC_mod_user_ws_workspaceForms::printContent (  ) 

Outputs module content to the browser.

Renvoie:
void

SC_mod_user_ws_workspaceForms::initTCEForms (  ) 

Initializes t3lib_TCEform class for use in this module.

Renvoie:
void

SC_mod_user_ws_workspaceForms::getModuleParameters (  ) 

Retrieves module parameters from the t3lib_div::_GP. The following arguments are retrieved:

Renvoie:
void

SC_mod_user_ws_workspaceForms::getTitle (  ) 

Retrieves a title of the module according to action.

Renvoie:
string A title for the module

SC_mod_user_ws_workspaceForms::buildForm (  ) 

Creates form for workspace. This function is a wrapper around buildEditForm() and buildNewForm().

Renvoie:
string Generated form

SC_mod_user_ws_workspaceForms::buildEditForm (  ) 

Creates a form for editing workspace. Parts were adopted from alt_doc.php.

Renvoie:
string Generated form

SC_mod_user_ws_workspaceForms::buildNewForm (  ) 

Creates a form for new workspace. Parts are adopted from alt_doc.php.

Renvoie:
string Generated form

SC_mod_user_ws_workspaceForms::createButtons (  ) 

Creates standard buttons for form. Adopted from alt_doc.php.

Renvoie:
string Generated buttons code

SC_mod_user_ws_workspaceForms::getOwnerUser ( uid  ) 

Returns owner user (i.e. current BE user) in the format suitable for TCE forms. This function uses t3lib_loadDBGroup to create value. Code is adopted from t3lib_transferdata::renderRecord_groupProc().

Paramètres:
string $uid UID of the record (as NEW...)
Renvoie:
string User record formatted for TCEForms

SC_mod_user_ws_workspaceForms::processData (  ) 

Processes submitted data. This function uses t3lib_TCEmain::process_datamap() to create/update records in the sys_workspace table. It will print error messages just like any other Typo3 module with similar functionality. Function also changes workspace ID and module mode to 'edit' if new record was just created.

Renvoie:
void

SC_mod_user_ws_workspaceForms::fixVariousTCAFields (  ) 

Fixes various $TCA fields for better visual representation of workspace editor.

Renvoie:
void

SC_mod_user_ws_workspaceForms::fixTCAUserField ( fieldName  ) 

"Fixes" $TCA to enable blinding for users/groups for non-admin users only.

Paramètres:
string $fieldName Name of the field to change
Renvoie:
void

SC_mod_user_ws_workspaceForms::checkWorkspaceAccess (  ) 

Checks if use has editing access to the workspace.

Renvoie:
boolean Returns true if user can edit workspace


Documentation des données membres

SC_mod_user_ws_workspaceForms::$MCONF = array()

Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.

Voir également:
init()

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::$MOD_MENU = array()

The module menu items array. Each key represents a key for which values can range between the items in the array of that key.

Voir également:
init()

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::$MOD_SETTINGS = array()

Current settings for the keys of the MOD_MENU array

Voir également:
$MOD_MENU

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::$doc

Generally used to hold an instance of the 'template' class from typo3/template.php

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::$content

Generally used for accumulating the output content of backend modules

Réimplémentée à partir de t3lib_SCbase.

SC_mod_user_ws_workspaceForms::$isEditAction = false

SC_mod_user_ws_workspaceForms::$workspaceId

SC_mod_user_ws_workspaceForms::$tceforms


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:43 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3