Solutions Open Source

Référence de la classe tslib_pibase

Graphe d'héritage de tslib_pibase:

Inheritance graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 tslib_pibase ()
 pi_setPiVarDefaults ()
 pi_getPageLink ($id, $target='', $urlParameters=array())
 pi_linkToPage ($str, $id, $target='', $urlParameters=array())
 pi_linkTP ($str, $urlParameters=array(), $cache=0, $altPageId=0)
 pi_linkTP_keepPIvars ($str, $overrulePIvars=array(), $cache=0, $clearAnyway=0, $altPageId=0)
 pi_linkTP_keepPIvars_url ($overrulePIvars=array(), $cache=0, $clearAnyway=0, $altPageId=0)
 pi_list_linkSingle ($str, $uid, $cache=FALSE, $mergeArr=array(), $urlOnly=FALSE, $altPageId=0)
 pi_openAtagHrefInJSwindow ($str, $winName='', $winParams='width=670, height=500, status=0, menubar=0, scrollbars=1, resizable=1')
 pi_list_browseresults ($showResultCount=1, $tableParams='', $wrapArr=array(), $pointerName='pointer', $hscText=TRUE)
 pi_list_searchBox ($tableParams='')
 pi_list_modeSelector ($items=array(), $tableParams='')
 pi_list_makelist ($res, $tableParams='')
 pi_list_row ($c)
 pi_list_header ()
 pi_getClassName ($class)
 pi_classParam ($class, $addClasses='')
 pi_wrapInBaseClass ($str)
 pi_getEditPanel ($row='', $tablename='', $label='', $conf=Array())
 pi_getEditIcon ($content, $fields, $title='', $row='', $tablename='', $oConf=array())
 pi_getLL ($key, $alt='', $hsc=FALSE)
 pi_loadLL ()
 pi_list_query ($table, $count=0, $addWhere='', $mm_cat='', $groupBy='', $orderBy='', $query='', $returnQueryArray=FALSE)
 pi_exec_query ($table, $count=0, $addWhere='', $mm_cat='', $groupBy='', $orderBy='', $query='')
 pi_getRecord ($table, $uid, $checkPage=0)
 pi_getPidList ($pid_list, $recursive=0)
 pi_prependFieldsWithTable ($table, $fieldList)
 pi_getCategoryTableContents ($table, $pid, $whereClause='', $groupBy='', $orderBy='', $limit='')
 pi_isOnlyFields ($fList, $lowerThan=-1)
 pi_autoCache ($inArray)
 pi_RTEcssText ($str)
 pi_initPIflexForm ($field='pi_flexform')
 pi_getFFvalue ($T3FlexForm_array, $fieldName, $sheet='sDEF', $lang='lDEF', $value='vDEF')
 pi_getFFvalueFromSheetArray ($sheetArray, $fieldNameArr, $value)

Attributs publics

 $cObj
 $prefixId
 $scriptRelPath
 $extKey
 $piVars
 $internal
 $LOCAL_LANG = Array()
 $LOCAL_LANG_charset = Array()
 $LOCAL_LANG_loaded = 0
 $LLkey = 'default'
 $altLLkey = ''
 $LLtestPrefix = ''
 $LLtestPrefixAlt = ''
 $pi_isOnlyFields = 'mode,pointer'
 $pi_alwaysPrev = 0
 $pi_lowerThan = 5
 $pi_moreParams = ''
 $pi_listFields = '*'
 $pi_autoCacheFields = array()
 $pi_autoCacheEn = 0
 $pi_USER_INT_obj = FALSE
 $pi_checkCHash = FALSE
 $conf = Array()
 $pi_EPtemp_cObj
 $pi_tmpPageId = 0

Fonctions membres privées

 pi_setClassStyle ($class, $data, $selector='')


Documentation des fonctions membres

tslib_pibase::tslib_pibase (  ) 

Class Constructor (true constructor) Initializes $this->piVars if $this->prefixId is set to any value Will also set $this->LLkey based on the config.language setting.

Renvoie:
void

tslib_pibase::pi_setPiVarDefaults (  ) 

If internal TypoScript property "_DEFAULT_PI_VARS." is set then it will merge the current $this->piVars array onto these default values.

Renvoie:
void

tslib_pibase::pi_getPageLink ( id,
target = '',
urlParameters = array() 
)

Get URL to some page. Returns the URL to page $id with $target and an array of additional url-parameters, $urlParameters Simple example: $this->pi_getPageLink(123) to get the URL for page-id 123.

The function basically calls $this->cObj->getTypoLink_URL()

Paramètres:
integer Page id
string Target value to use. Affects the &type-value of the URL, defaults to current.
array Additional URL parameters to set (key/value pairs)
Renvoie:
string The resulting URL
Voir également:
pi_linkToPage()

tslib_pibase::pi_linkToPage ( str,
id,
target = '',
urlParameters = array() 
)

Link a string to some page. Like pi_getPageLink() but takes a string as first parameter which will in turn be wrapped with the URL including target attribute Simple example: $this->pi_linkToPage('My link', 123) to get something like My link (or My link if simulateStaticDocuments is set)

Paramètres:
string The content string to wrap in tags
integer Page id
string Target value to use. Affects the &type-value of the URL, defaults to current.
array Additional URL parameters to set (key/value pairs)
Renvoie:
string The input string wrapped in tags with the URL and target set.
Voir également:
pi_getPageLink(), tslib_cObj::getTypoLink()

tslib_pibase::pi_linkTP ( str,
urlParameters = array(),
cache = 0,
altPageId = 0 
)

Link string to the current page. Returns the $str wrapped in -tags with a link to the CURRENT page, but with $urlParameters set as extra parameters for the page.

Paramètres:
string The content string to wrap in tags
array Array with URL parameters as key/value pairs. They will be "imploded" and added to the list of parameters defined in the plugins TypoScript property "parent.addParams" plus $this->pi_moreParams.
boolean If $cache is set (0/1), the page is asked to be cached by a &cHash value (unless the current plugin using this class is a USER_INT). Otherwise the no_cache-parameter will be a part of the link.
integer Alternative page ID for the link. (By default this function links to the SAME page!)
Renvoie:
string The input string wrapped in tags
Voir également:
pi_linkTP_keepPIvars(), tslib_cObj::typoLink()

tslib_pibase::pi_linkTP_keepPIvars ( str,
overrulePIvars = array(),
cache = 0,
clearAnyway = 0,
altPageId = 0 
)

Link a string to the current page while keeping currently set values in piVars. Like pi_linkTP, but $urlParameters is by default set to $this->piVars with $overrulePIvars overlaid. This means any current entries from this->piVars are passed on (except the key "DATA" which will be unset before!) and entries in $overrulePIvars will OVERRULE the current in the link.

Paramètres:
string The content string to wrap in tags
array Array of values to override in the current piVars. Contrary to pi_linkTP the keys in this array must correspond to the real piVars array and therefore NOT be prefixed with the $this->prefixId string. Further, if a value is a blank string it means the piVar key will not be a part of the link (unset)
boolean If $cache is set, the page is asked to be cached by a &cHash value (unless the current plugin using this class is a USER_INT). Otherwise the no_cache-parameter will be a part of the link.
boolean If set, then the current values of piVars will NOT be preserved anyways... Practical if you want an easy way to set piVars without having to worry about the prefix, "tx_xxxxx[]"
integer Alternative page ID for the link. (By default this function links to the SAME page!)
Renvoie:
string The input string wrapped in tags
Voir également:
pi_linkTP()

tslib_pibase::pi_linkTP_keepPIvars_url ( overrulePIvars = array(),
cache = 0,
clearAnyway = 0,
altPageId = 0 
)

Get URL to the current page while keeping currently set values in piVars. Same as pi_linkTP_keepPIvars but returns only the URL from the link.

Paramètres:
array See pi_linkTP_keepPIvars
boolean See pi_linkTP_keepPIvars
boolean See pi_linkTP_keepPIvars
integer See pi_linkTP_keepPIvars
Renvoie:
string The URL ($this->cObj->lastTypoLinkUrl)
Voir également:
pi_linkTP_keepPIvars()

tslib_pibase::pi_list_linkSingle ( str,
uid,
cache = FALSE,
mergeArr = array(),
urlOnly = FALSE,
altPageId = 0 
)

Wraps the $str in a link to a single display of the record (using piVars[showUid]) Uses pi_linkTP for the linking

Paramètres:
string The content string to wrap in tags
integer UID of the record for which to display details (basically this will become the value of [showUid]
boolean See pi_linkTP_keepPIvars
array Array of values to override in the current piVars. Same as $overrulePIvars in pi_linkTP_keepPIvars
boolean If true, only the URL is returned, not a full link
integer Alternative page ID for the link. (By default this function links to the SAME page!)
Renvoie:
string The input string wrapped in tags
Voir également:
pi_linkTP(), pi_linkTP_keepPIvars()

tslib_pibase::pi_openAtagHrefInJSwindow ( str,
winName = '',
winParams = 'width=670,
height  = 500,
status  = 0,
menubar  = 0,
scrollbars  = 1,
resizable  = 1' 
)

Will change the href value from in the input string and turn it into an onclick event that will open a new window with the URL

Paramètres:
string The string to process. This should be a string already wrapped/including a tag which will be modified to contain an onclick handler. Only the attributes "href" and "onclick" will be left.
string Window name for the pop-up window
string Window parameters, see the default list for inspiration
Renvoie:
string The processed input string, modified IF a tag was found

tslib_pibase::pi_list_browseresults ( showResultCount = 1,
tableParams = '',
wrapArr = array(),
pointerName = 'pointer',
hscText = TRUE 
)

Returns a results browser. This means a bar of page numbers plus a "previous" and "next" link. For each entry in the bar the piVars "pointer" will be pointing to the "result page" to show. Using $this->piVars['pointer'] as pointer to the page to display. Can be overwritten with another string ($pointerName) to make it possible to have more than one pagebrowser on a page) Using $this->internal['res_count'], $this->internal['results_at_a_time'] and $this->internal['maxPages'] for count number, how many results to show and the max number of pages to include in the browse bar. Using $this->internal['dontLinkActivePage'] as switch if the active (current) page should be displayed as pure text or as a link to itself Using $this->internal['showFirstLast'] as switch if the two links named "<< First" and "LAST >>" will be shown and point to the first or last page. Using $this->internal['pagefloat']: this defines were the current page is shown in the list of pages in the Pagebrowser. If this var is an integer it will be interpreted as position in the list of pages. If its value is the keyword "center" the current page will be shown in the middle of the pagelist. Using $this->internal['showRange']: this var switches the display of the pagelinks from pagenumbers to ranges f.e.: 1-5 6-10 11-15... instead of 1 2 3... Using $this->pi_isOnlyFields: this holds a comma-separated list of fieldnames which - if they are among the GETvars - will not disable caching for the page with pagebrowser.

The third parameter is an array with several wraps for the parts of the pagebrowser. The following elements will be recognized: disabledLinkWrap, inactiveLinkWrap, activeLinkWrap, browseLinksWrap, showResultsWrap, showResultsNumbersWrap, browseBoxWrap.

If $wrapArr['showResultsNumbersWrap'] is set, the formatting string is expected to hold template markers (##FROM###, ##TO###, ##OUT_OF###, ##FROM_TO###, ##CURRENT_PAGE###, ##TOTAL_PAGES###) otherwise the formatting string is expected to hold sprintf-markers (s) for from, to, outof (in that sequence)

Paramètres:
integer determines how the results of the pagerowser will be shown. See description below
string Attributes for the table tag which is wrapped around the table cells containing the browse links
array Array with elements to overwrite the default $wrapper-array.
string varname for the pointer.
boolean enable htmlspecialchars() for the pi_getLL function (set this to FALSE if you want f.e use images instead of text for links like 'previous' and 'next').
Renvoie:
string Output HTML-Table, wrapped in
-tags with a class attribute (if $wrapArr is not passed,

tslib_pibase::pi_list_searchBox ( tableParams = ''  ) 

Returns a Search box, sending search words to piVars "sword" and setting the "no_cache" parameter as well in the form. Submits the search request to the current REQUEST_URI

Paramètres:
string Attributes for the table tag which is wrapped around the table cells containing the search box
Renvoie:
string Output HTML, wrapped in
-tags with a class attribute

tslib_pibase::pi_list_modeSelector ( items = array(),
tableParams = '' 
)

Returns a mode selector; a little menu in a table normally put in the top of the page/list.

Paramètres:
array Key/Value pairs for the menu; keys are the piVars[mode] values and the "values" are the labels for them.
string Attributes for the table tag which is wrapped around the table cells containing the menu
Renvoie:
string Output HTML, wrapped in
-tags with a class attribute

tslib_pibase::pi_list_makelist ( res,
tableParams = '' 
)

Returns the list of items based on the input SQL result pointer For each result row the internal var, $this->internal['currentRow'], is set with the row returned. $this->pi_list_header() makes the header row for the list $this->pi_list_row() is used for rendering each row Notice that these two functions are typically ALWAYS defined in the extension class of the plugin since they are directly concerned with the specific layout for that plugins purpose.

Paramètres:
pointer Result pointer to a SQL result which can be traversed.
string Attributes for the table tag which is wrapped around the table rows containing the list
Renvoie:
string Output HTML, wrapped in
-tags with a class attribute
Voir également:
pi_list_row(), pi_list_header()

tslib_pibase::pi_list_row ( c  ) 

Returns a list row. Get data from $this->internal['currentRow']; (Dummy) Notice: This function should ALWAYS be defined in the extension class of the plugin since it is directly concerned with the specific layout of the listing for your plugins purpose.

Paramètres:
integer Row counting. Starts at 0 (zero). Used for alternating class values in the output rows.
Renvoie:
string HTML output, a table row with a class attribute set (alternative based on odd/even rows)

tslib_pibase::pi_list_header (  ) 

Returns a list header row. (Dummy) Notice: This function should ALWAYS be defined in the extension class of the plugin since it is directly concerned with the specific layout of the listing for your plugins purpose.

Renvoie:
string HTML output, a table row with a class attribute set

tslib_pibase::pi_getClassName ( class  ) 

Returns a class-name prefixed with $this->prefixId and with all underscores substituted to dashes (-)

Paramètres:
string The class name (or the END of it since it will be prefixed by $this->prefixId.'-')
Renvoie:
string The combined class name (with the correct prefix)

tslib_pibase::pi_classParam ( class,
addClasses = '' 
)

Returns the class-attribute with the correctly prefixed classname Using pi_getClassName()

Paramètres:
string The class name(s) (suffix) - separate multiple classes with commas
string Additional class names which should not be prefixed - separate multiple classes with commas
Renvoie:
string A "class" attribute with value and a single space char before it.
Voir également:
pi_getClassName()

tslib_pibase::pi_setClassStyle ( class,
data,
selector = '' 
) [private]

Sets CSS style-data for the $class-suffix (prefixed by pi_getClassName())

Paramètres:
string $class: Class suffix, see pi_getClassName
string $data: CSS data
string If $selector is set to any CSS selector, eg 'P' or 'H1' or 'TABLE' then the style $data will regard those HTML-elements only
Renvoie:
void
Obsolète:
I think this function should not be used (and probably isn't used anywhere). It was a part of a concept which was left behind quite quickly.

tslib_pibase::pi_wrapInBaseClass ( str  ) 

Wraps the input string in a

tag with the class attribute set to the prefixId. All content returned from your plugins should be returned through this function so all content from your plugin is encapsulated in a
-tag nicely identifying the content of your plugin.

Paramètres:
string HTML content to wrap in the div-tags with the "main class" of the plugin
Renvoie:
string HTML content wrapped, ready to return to the parent object.

tslib_pibase::pi_getEditPanel ( row = '',
tablename = '',
label = '',
conf = Array() 
)

Returns the Backend User edit panel for the $row from $tablename

Paramètres:
array Record array.
string Table name
string A label to show with the panel.
array TypoScript parameters to pass along to the EDITPANEL content Object that gets rendered. The property "allow" WILL get overridden/set though.
Renvoie:
string Returns false/blank if no BE User login and of course if the panel is not shown for other reasons. Otherwise the HTML for the panel (a table).
Voir également:
tslib_cObj::EDITPANEL()

tslib_pibase::pi_getEditIcon ( content,
fields,
title = '',
row = '',
tablename = '',
oConf = array() 
)

Adds edit-icons to the input content. tslib_cObj::editIcons used for rendering

Paramètres:
string HTML content to add icons to. The icons will be put right after the last content part in the string (that means before the ending series of HTML tags)
string The list of fields to edit when the icon is clicked.
string Title for the edit icon.
array Table record row
string Table name
array Conf array
Renvoie:
string The processed content
Voir également:
tslib_cObj::editIcons()

tslib_pibase::pi_getLL ( key,
alt = '',
hsc = FALSE 
)

Returns the localized label of the LOCAL_LANG key, $key Notice that for debugging purposes prefixes for the output values can be set with the internal vars ->LLtestPrefixAlt and ->LLtestPrefix

Paramètres:
string The key from the LOCAL_LANG array for which to return the value.
string Alternative string to return IF no value is found set for the key, neither for the local language nor the default.
boolean If true, the output label is passed through htmlspecialchars()
Renvoie:
string The value from LOCAL_LANG.

tslib_pibase::pi_loadLL (  ) 

Loads local-language values by looking for a "locallang.php" file in the plugin class directory ($this->scriptRelPath) and if found includes it. Also locallang values set in the TypoScript property "_LOCAL_LANG" are merged onto the values found in the "locallang.php" file.

Renvoie:
void

tslib_pibase::pi_list_query ( table,
count = 0,
addWhere = '',
mm_cat = '',
groupBy = '',
orderBy = '',
query = '',
returnQueryArray = FALSE 
)

Makes a standard query for listing of records based on standard input vars from the 'browser' ($this->internal['results_at_a_time'] and $this->piVars['pointer']) and 'searchbox' ($this->piVars['sword'] and $this->internal['searchFieldList']) Set $count to 1 if you wish to get a count(*) query for selecting the number of results. Notice that the query will use $this->conf['pidList'] and $this->conf['recursive'] to generate a PID list within which to search for records.

Paramètres:
string See pi_exec_query()
boolean See pi_exec_query()
string See pi_exec_query()
mixed See pi_exec_query()
string See pi_exec_query()
string See pi_exec_query()
string See pi_exec_query()
boolean If set, the function will return the query not as a string but array with the various parts.
Renvoie:
mixed The query build. private
Obsolète:
Use pi_exec_query() instead!

tslib_pibase::pi_exec_query ( table,
count = 0,
addWhere = '',
mm_cat = '',
groupBy = '',
orderBy = '',
query = '' 
)

Executes a standard SELECT query for listing of records based on standard input vars from the 'browser' ($this->internal['results_at_a_time'] and $this->piVars['pointer']) and 'searchbox' ($this->piVars['sword'] and $this->internal['searchFieldList']) Set $count to 1 if you wish to get a count(*) query for selecting the number of results. Notice that the query will use $this->conf['pidList'] and $this->conf['recursive'] to generate a PID list within which to search for records.

Paramètres:
string The table name to make the query for.
boolean If set, you will get a "count(*)" query back instead of field selecting
string Additional WHERE clauses (should be starting with " AND ....")
mixed If an array, then it must contain the keys "table", "mmtable" and (optionally) "catUidList" defining a table to make a MM-relation to in the query (based on fields uid_local and uid_foreign). If not array, the query will be a plain query looking up data in only one table.
string If set, this is added as a " GROUP BY ...." part of the query.
string If set, this is added as a " ORDER BY ...." part of the query. The default is that an ORDER BY clause is made based on $this->internal['orderBy'] and $this->internal['descFlag'] where the orderBy field must be found in $this->internal['orderByList']
string If set, this is taken as the first part of the query instead of what is created internally. Basically this should be a query starting with "FROM [table] WHERE ... AND ...". The $addWhere clauses and all the other stuff is still added. Only the tables and PID selecting clauses are bypassed. May be deprecated in the future!
Renvoie:
pointer SQL result pointer

tslib_pibase::pi_getRecord ( table,
uid,
checkPage = 0 
)

Returns the row $uid from $table (Simply calling $GLOBALS['TSFE']->sys_page->checkRecord())

Paramètres:
string The table name
integer The uid of the record from the table
boolean If $checkPage is set, it's required that the page on which the record resides is accessible
Renvoie:
array If record is found, an array. Otherwise false.

tslib_pibase::pi_getPidList ( pid_list,
recursive = 0 
)

Returns a commalist of page ids for a query (eg. 'WHERE pid IN (...)')

Paramètres:
string $pid_list is a comma list of page ids (if empty current page is used)
integer $recursive is an integer >=0 telling how deep to dig for pids under each entry in $pid_list
Renvoie:
string List of PID values (comma separated)

tslib_pibase::pi_prependFieldsWithTable ( table,
fieldList 
)

Having a comma list of fields ($fieldList) this is prepended with the $table.'.' name

Paramètres:
string Table name to prepend
string List of fields where each element will be prepended with the table name given.
Renvoie:
string List of fields processed.

tslib_pibase::pi_getCategoryTableContents ( table,
pid,
whereClause = '',
groupBy = '',
orderBy = '',
limit = '' 
)

Will select all records from the "category table", $table, and return them in an array.

Paramètres:
string The name of the category table to select from.
integer The page from where to select the category records.
string Optional additional WHERE clauses put in the end of the query. DO NOT PUT IN GROUP BY, ORDER BY or LIMIT!
string Optional GROUP BY field(s), if none, supply blank string.
string Optional ORDER BY field(s), if none, supply blank string.
string Optional LIMIT value ([begin,]max), if none, supply blank string.
Renvoie:
array The array with the category records in.

tslib_pibase::pi_isOnlyFields ( fList,
lowerThan = -1 
)

Returns true if the piVars array has ONLY those fields entered that is set in the $fList (commalist) AND if none of those fields value is greater than $lowerThan field if they are integers. Notice that this function will only work as long as values are integers.

Paramètres:
string List of fields (keys from piVars) to evaluate on
integer Limit for the values.
Renvoie:
boolean Returns true (1) if conditions are met.

tslib_pibase::pi_autoCache ( inArray  ) 

Returns true if the array $inArray contains only values allowed to be cached based on the configuration in $this->pi_autoCacheFields Used by ->pi_linkTP_keepPIvars This is an advanced form of evaluation of whether a URL should be cached or not.

Paramètres:
array An array with piVars values to evaluate
Renvoie:
boolean Returns true (1) if conditions are met.
Voir également:
pi_linkTP_keepPIvars()

tslib_pibase::pi_RTEcssText ( str  ) 

Will process the input string with the parseFunc function from tslib_cObj based on configuration set in "lib.parseFunc_RTE" in the current TypoScript template. This is useful for rendering of content in RTE fields where the transformation mode is set to "ts_css" or so. Notice that this requires the use of "css_styled_content" to work right.

Paramètres:
string The input text string to process
Renvoie:
string The processed string
Voir également:
tslib_cObj::parseFunc()

tslib_pibase::pi_initPIflexForm ( field = 'pi_flexform'  ) 

Converts $this->cObj->data['pi_flexform'] from XML string to flexForm array.

Paramètres:
string Field name to convert
Renvoie:
void

tslib_pibase::pi_getFFvalue ( T3FlexForm_array,
fieldName,
sheet = 'sDEF',
lang = 'lDEF',
value = 'vDEF' 
)

Return value from somewhere inside a FlexForm structure

Paramètres:
array FlexForm data
string Field name to extract. Can be given like "test/el/2/test/el/field_templateObject" where each part will dig a level deeper in the FlexForm data.
string Sheet pointer, eg. "sDEF"
string Language pointer, eg. "lDEF"
string Value pointer, eg. "vDEF"
Renvoie:
string The content.

tslib_pibase::pi_getFFvalueFromSheetArray ( sheetArray,
fieldNameArr,
value 
)

Returns part of $sheetArray pointed to by the keys in $fieldNameArray

Paramètres:
array Multidimensiona array, typically FlexForm contents
array Array where each value points to a key in the FlexForms content - the input array will have the value returned pointed to by these keys. All integer keys will not take their integer counterparts, but rather traverse the current position in the array an return element number X (whether this is right behavior is not settled yet...)
string Value for outermost key, typ. "vDEF" depending on language.
Renvoie:
mixed The value, typ. string. private
Voir également:
pi_getFFvalue()


Documentation des données membres

tslib_pibase::$cObj

Réimplémentée dans tx_rtehtmlarea_pi1, et tx_rtehtmlarea_pi3.

tslib_pibase::$prefixId

Réimplémentée dans tx_cssstyledcontent_pi1, tx_indexedsearch, tx_rtehtmlarea_pi1, et tx_rtehtmlarea_pi3.

tslib_pibase::$scriptRelPath

Réimplémentée dans tx_cssstyledcontent_pi1, tx_indexedsearch, tx_rtehtmlarea_pi1, et tx_rtehtmlarea_pi3.

tslib_pibase::$extKey

Réimplémentée dans tx_cssstyledcontent_pi1, tx_indexedsearch, tx_rtehtmlarea_pi1, et tx_rtehtmlarea_pi3.

tslib_pibase::$piVars

Valeur initiale :

 Array (        // This is the incoming array by name $this->prefixId merged between POST and GET, POST taking precedence. Eg. if the class name is 'tx_myext' then the content of this array will be whatever comes into &tx_myext[...]=...
                'pointer' => '',                // Used as a pointer for lists
                'mode' => '',                   // List mode
                'sword' => '',                  // Search word
                'sort' => '',                   // [Sorting column]:[ASC=0/DESC=1]
        )

tslib_pibase::$internal

Valeur initiale :

 Array( // Used internally for general storage of values between methods
                'res_count' => 0,               // Total query count
                'results_at_a_time' => 20,      // pi_list_browseresults(): Show number of results at a time
                'maxPages' => 10,               // pi_list_browseresults(): Max number of 'Page 1 - Page 2 - ...' in the list browser
                'currentRow' => Array(),        // Current result row
                'currentTable' => '',           // Current table
        )

tslib_pibase::$LOCAL_LANG = Array()

tslib_pibase::$LOCAL_LANG_charset = Array()

tslib_pibase::$LOCAL_LANG_loaded = 0

tslib_pibase::$LLkey = 'default'

tslib_pibase::$altLLkey = ''

tslib_pibase::$LLtestPrefix = ''

tslib_pibase::$LLtestPrefixAlt = ''

tslib_pibase::$pi_isOnlyFields = 'mode,pointer'

tslib_pibase::$pi_alwaysPrev = 0

tslib_pibase::$pi_lowerThan = 5

tslib_pibase::$pi_moreParams = ''

tslib_pibase::$pi_listFields = '*'

tslib_pibase::$pi_autoCacheFields = array()

tslib_pibase::$pi_autoCacheEn = 0

tslib_pibase::$pi_USER_INT_obj = FALSE

tslib_pibase::$pi_checkCHash = FALSE

tslib_pibase::$conf = Array()

Should normally be set in the main function with the TypoScript content passed to the method.

$conf[LOCAL_LANG][_key_] is reserved for Local Language overrides. $conf[userFunc] / $conf[includeLibs] reserved for setting up the USER / USER_INT object. See TSref

Réimplémentée dans tx_cssstyledcontent_pi1, tx_rtehtmlarea_pi1, et tx_rtehtmlarea_pi3.

tslib_pibase::$pi_EPtemp_cObj

tslib_pibase::$pi_tmpPageId = 0


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