Cleaned up code of scripts in t3lib/ and typo3/
authorOliver Hader <oliver.hader@typo3.org>
Mon, 31 Mar 2008 13:13:04 +0000 (13:13 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 31 Mar 2008 13:13:04 +0000 (13:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3489 709f56b5-9817-0410-a4d7-c38de5d9e867

15 files changed:
ChangeLog
t3lib/class.t3lib_befunc.php
t3lib/class.t3lib_cli.php
t3lib/class.t3lib_extmgm.php
t3lib/class.t3lib_flexformtools.php
t3lib/class.t3lib_fullsearch.php
t3lib/class.t3lib_lock.php
t3lib/class.t3lib_querygenerator.php
t3lib/class.t3lib_tceforms.php
t3lib/class.t3lib_tceforms_inline.php
t3lib/class.t3lib_transl8tools.php
t3lib/interfaces/interface.t3lib_tceformsInlineHook.php
typo3/index.php
typo3/logomenu.php
typo3/mod/user/ws/class.wslib_gui.php

index 49621a4..af567e8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        * Fixed bug #7759: XCLASSing USER_INT objects does not work
        * Cleaned up code of scripts in typo3/classes/
        * Followup to #6087: Cleaned up code of IRRE localization
+       * Cleaned up code of scripts in t3lib/ and typo3/
 
 2008-03-31  Dmitry Dulepov  <dmitry@typo3.org>
 
index cb98f13..2abc736 100755 (executable)
@@ -2413,7 +2413,7 @@ final class t3lib_BEfunc {
 
                if (is_array($TCA_DESCR[$table]) && is_array($TCA_DESCR[$table]['columns'][$field])) {
                        $data = $TCA_DESCR[$table]['columns'][$field];
-                               // add see also arrow 
+                               // add see also arrow
                        if ($data['image_descr'] || $data['seeAlso'] || $data['details'] || $data['syntax']) {
                                $arrow = '<img'.t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/rel_db.gif', 'width="13" height="12"').' class="absmiddle" alt="" />';
                        }
@@ -2737,7 +2737,7 @@ final class t3lib_BEfunc {
                        return '';
                }
 
-                       // Hook: Allows to let TYPO3 execute your JS code 
+                       // Hook: Allows to let TYPO3 execute your JS code
                if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['updateSignalHook'])) {
                        $updateSignals = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['updateSignalHook'];
                } else {
@@ -3947,7 +3947,7 @@ final class t3lib_BEfunc {
                                        '<a href="'.$url.'">',
                                        '</a>');
                        }
-                       
+
                        // Hook for additional warnings
                        if (is_array ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'])) {
                                foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'] as $classRef) {
@@ -3957,7 +3957,7 @@ final class t3lib_BEfunc {
                                        }
                                }
                        }
-                       
+
                        if (count($warnings)) {
                                $style = ' style="margin-bottom:10px;"';
                                $content = '<table border="0" cellpadding="0" cellspacing="0" class="warningbox"><tr><td>'.
@@ -4054,7 +4054,7 @@ final class t3lib_BEfunc {
                }
                return array('rows'=>$theRows, 'list'=>$out);
        }
-       
+
        /**
         * Returns the name of the backend script relative to the TYPO3 main directory.
         *
@@ -4065,7 +4065,7 @@ final class t3lib_BEfunc {
                if (!$interface) {
                        $interface = $GLOBALS['BE_USER']->uc['interfaceSetup'];
                }
-               
+
                switch ($interface) {
                        case 'backend_old':
                                $script = 'alt_main.php';
@@ -4078,7 +4078,7 @@ final class t3lib_BEfunc {
                                $script = 'backend.php';
                                break;
                }
-               
+
                return $script;
        }
 }
index 9844b45..2718dbc 100644 (file)
@@ -76,7 +76,7 @@ class t3lib_cli {
                        'license' => 'GNU GPL - free software!',
                        'author' => '[Author name]',
                );
-       var $stdin = NULL;      
+       var $stdin = NULL;
 
 
        /**
@@ -157,7 +157,7 @@ class t3lib_cli {
                }
                return $cli_options;
        }
-       
+
        /**
         * Validates if the input arguments in this->cli_args are all listed in this->cli_options and if not, will exit with an error.
         */
@@ -186,11 +186,11 @@ class t3lib_cli {
                                        echo 'ERROR: Option "'.$argSplit[0].'" does not support a value on position '.$ii.chr(10);
                                        exit;
                                }
-                               
+
                                unset($cli_args_copy[$argSplit[0]]);
                        }
                }
-               
+
                if (count($cli_args_copy))      {
                        echo wordwrap('ERROR: Option '.implode(',',array_keys($cli_args_copy)).' was unknown to this script!'.chr(10).'(Options are: '.implode(', ',$allOptions).')'.chr(10));
                        exit;
@@ -203,12 +203,12 @@ class t3lib_cli {
         * @return      string
         */
        function cli_keyboardInput()    {
-               
+
                        // Have to open the stdin stream only ONCE! otherwise I cannot read multiple lines from it... :
                if (!$this->stdin)      {
                        $this->stdin = fopen('php://stdin', 'r');
                }
-               
+
                while (FALSE == ($line = fgets($this->stdin,1000)))     {}
 
                return trim($line);
index ff61646..952c40b 100644 (file)
@@ -412,9 +412,9 @@ final class t3lib_extMgm {
        public static function insertModuleFunction($modname, $className, $classPath, $title, $MM_key = 'function', $WS = '') {
                global $TBE_MODULES_EXT;
                $TBE_MODULES_EXT[$modname]['MOD_MENU'][$MM_key][$className] = array(
-                       'name' => $className, 
-                       'path' => $classPath, 
-                       'title' => $title, 
+                       'name' => $className,
+                       'path' => $classPath,
+                       'title' => $title,
                        'ws' => $WS
                );
        }
@@ -1096,7 +1096,7 @@ $_EXTCONF = $TYPO3_CONF_VARS[\'EXT\'][\'extConf\'][$_EXTKEY];
                if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
                        if (t3lib_extMgm::isCacheFilesAvailable($TYPO3_LOADED_EXT['_CACHEFILE'])) {
                                return array(
-                                       PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php', 
+                                       PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php',
                                        PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_tables.php'
                                );
                        }
index d93cb3c..552d8ce 100644 (file)
@@ -72,7 +72,7 @@ class t3lib_flexformtools {
 
        var $convertCharset = FALSE;            // If set, the charset of data XML is converted to system charset.
        var $reNumberIndexesOfSectionData = FALSE;      // If set, section indexes are re-numbered before processing
-       
+
        var $traverseFlexFormXMLData_DS = array();      // Contains data structure when traversing flexform
        var $traverseFlexFormXMLData_Data = array();    // Contains data array when traversing flexform
 
index 7413522..2508433 100755 (executable)
@@ -1087,7 +1087,7 @@ class t3lib_fullsearch {
         * Sets the current name of the input form.
         *
         * @param       string          $formName: The name of the form.
-        * @return      void 
+        * @return      void
         */
        public function setFormName($formName) {
                $this->formName = trim($formName);
index e7653b9..bd34786 100644 (file)
@@ -62,7 +62,7 @@ require_once(PATH_t3lib.'class.t3lib_div.php');
 class t3lib_lock {
        private $method;
        private $id;            // Identifier used for this lock
-       private $resource;      // Resource used for this lock (can be a file or a semaphore resource) 
+       private $resource;      // Resource used for this lock (can be a file or a semaphore resource)
        private $filepointer;
        private $isAcquired = false;
 
index bf1502d..0c3ea94 100755 (executable)
@@ -1521,7 +1521,7 @@ class t3lib_queryGenerator        {
         * Sets the current name of the input form.
         *
         * @param       string          $formName: The name of the form.
-        * @return      void 
+        * @return      void
         */
        public function setFormName($formName) {
                $this->formName = trim($formName);
index 8102dee..dc2df85 100755 (executable)
@@ -4034,7 +4034,7 @@ class t3lib_TCEforms      {
         *
         * @param       array           Parts for the tab menu, fed to template::getDynTabMenu()
         * @param       string          ID string for the tab menu
-        * @param       string          Name of the table to get the tab menu for (must not be empty) 
+        * @param       string          Name of the table to get the tab menu for (must not be empty)
         * @return      string          HTML for the menu
         */
        function getDynTabMenu($parts, $idString, $table) {
index 3876b78..9920204 100755 (executable)
@@ -145,7 +145,7 @@ class t3lib_TCEforms_inline {
                        if (is_array($tceformsInlineHook)) {
                                foreach($tceformsInlineHook as $classData) {
                                        $processObject = &t3lib_div::getUserObj($classData);
-       
+
                                        if(!($processObject instanceof t3lib_tceformsInlineHook)) {
                                                throw new UnexpectedValueException('$processObject must implement interface t3lib_tceformsInlineHook', 1202072000);
                                        }
@@ -289,11 +289,11 @@ class t3lib_TCEforms_inline {
                                        // Add the "Localize all records" link before all child records:
                                if (isset($config['appearance']['showAllLocalizationLink']) && $config['appearance']['showAllLocalizationLink']) {
                                        $levelLinks.= $this->getLevelInteractionLink('localize', $nameObject.'['.$foreign_table.']', $config);
-                               } 
+                               }
                                        // Add the "Synchronize with default language" link before all child records:
                                if (isset($config['appearance']['showSynchronizationLink']) && $config['appearance']['showSynchronizationLink']) {
                                        $levelLinks.= $this->getLevelInteractionLink('synchronize', $nameObject.'['.$foreign_table.']', $config);
-                               }       
+                               }
                        }
                }
                        // Add the level links before all child records:
@@ -671,7 +671,7 @@ class t3lib_TCEforms_inline {
                } elseif ($isVirtualRecord) {
                        if ($enabledControls['localize'] && isset($rec['__create'])) {
                                $onClick = "inline.synchronizeLocalizeRecords('".$nameObjectFt."', ".$rec['uid'].");";
-                               $cells['localize'] = '<a href="#" onclick="'.htmlspecialchars($onClick).'">' . 
+                               $cells['localize'] = '<a href="#" onclick="'.htmlspecialchars($onClick).'">' .
                                        '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/localize_el.gif','width="16" height="16"').' title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', 1).'" alt="" />' .
                                        '</a>';
                        }
@@ -955,9 +955,9 @@ class t3lib_TCEforms_inline {
 
 
        /**
-        * General processor for AJAX requests concerning IRRE. 
+        * General processor for AJAX requests concerning IRRE.
         * (called by typo3/ajax.php)
-        * 
+        *
         * @param       array           $params: additional parameters (not used here)
         * @param       TYPO3AJAX       &$ajaxObj: the TYPO3AJAX object of this request
         * @return      void
@@ -997,7 +997,7 @@ class t3lib_TCEforms_inline {
         * - creates a t3lib_TCEforms in $GLOBALS['SOBE']->tceforms
         * - sets ourself as reference to $GLOBALS['SOBE']->tceforms->inline
         * - sets $GLOBALS['SOBE']->tceforms->RTEcounter to the current situation on client-side
-        * 
+        *
         * @param       array           &$ajaxArguments: The arguments to be processed by the AJAX request
         * @return      void
         */
@@ -1053,7 +1053,7 @@ class t3lib_TCEforms_inline {
         *
         * @param       array           &$jsonArray: Reference of the array to be used for JSON
         * @param       array           $config: The configuration of the IRRE field of the parent record
-        * @return      void 
+        * @return      void
         */
        protected function getCommonScriptCalls(&$jsonArray, $config) {
                        // Add data that would have been added at the top of a regular TCEforms call:
@@ -1105,7 +1105,7 @@ class t3lib_TCEforms_inline {
                        // get TCA 'config' of the parent table
                $config = $parent['config'];
                $collapseAll = (isset($config['appearance']['collapseAll']) && $config['appearance']['collapseAll']);
-               $expandSingle = (isset($config['appearance']['expandSingle']) && $config['appearance']['expandSingle']); 
+               $expandSingle = (isset($config['appearance']['expandSingle']) && $config['appearance']['expandSingle']);
 
                        // Put the current level also to the dynNestedStack of TCEforms:
                $this->fObj->pushToDynNestedStack('inline', $this->inlineNames['object']);
@@ -1246,10 +1246,10 @@ class t3lib_TCEforms_inline {
                $nameObjectForeignTable = $nameObject.'['.$current['table'].']';
                        // Get the name of the field pointing to the original record:
                $transOrigPointerField = $GLOBALS['TCA'][$current['table']]['ctrl']['transOrigPointerField'];
-                       // Get the name of the field used as foreign selector (if any): 
+                       // Get the name of the field used as foreign selector (if any):
                $foreignSelector = (isset($parent['config']['foreign_selector']) && $parent['config']['foreign_selector'] ? $parent['config']['foreign_selector'] : false);
                        // Convert lists to array with uids of child records:
-               $oldItems = $this->getRelatedRecordsUidArray($oldItemList); 
+               $oldItems = $this->getRelatedRecordsUidArray($oldItemList);
                $newItems = $this->getRelatedRecordsUidArray($newItemList);
                        // Determine the items that were localized or localized:
                $removedItems = array_diff($oldItems, $newItems);
@@ -1379,7 +1379,7 @@ class t3lib_TCEforms_inline {
                                'showRemoved' => (isset($config['appearance']['showRemovedLocalizationRecords']) && $config['appearance']['showRemovedLocalizationRecords']),
                        );
                        if ($options['showPossible'] || $options['showRemoved']) {
-                               $relatedRecords['records'] = $this->getLocalizationDifferences($foreignTable, $options, $recordsOriginal, $records); 
+                               $relatedRecords['records'] = $this->getLocalizationDifferences($foreignTable, $options, $recordsOriginal, $records);
                        }
                }
 
@@ -1393,7 +1393,7 @@ class t3lib_TCEforms_inline {
         * @param       integer         $pid: The pid of the parent record
         * @param       string          $table: The table name of the record
         * @param       string          $itemList: The list of related child records
-        * @return      array           The records related to the parent item 
+        * @return      array           The records related to the parent item
         */
        protected function getRelatedRecordsArray($pid, $table, $itemList) {
                $records = array();
@@ -1415,7 +1415,7 @@ class t3lib_TCEforms_inline {
         * extracts the uids.
         *
         * @param       string          $itemList: The list of related child records
-        * @return      array           An array with uids 
+        * @return      array           An array with uids
         */
        protected function getRelatedRecordsUidArray($itemList) {
                $itemArray = t3lib_div::trimExplode(',', $itemList, 1);
@@ -1444,7 +1444,7 @@ class t3lib_TCEforms_inline {
                $transOrigPointerField = $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'];
                        // Compare original to localized version of the records:
                foreach ($recordsLocalization as $uid => $row) {
-                               // If the record points to a original translation which doesn't exist anymore, it could be removed: 
+                               // If the record points to a original translation which doesn't exist anymore, it could be removed:
                        if (isset($row[$transOrigPointerField]) && $row[$transOrigPointerField]>0) {
                                $transOrigPointer = $row[$transOrigPointerField];
                                if (isset($recordsOriginal[$transOrigPointer])) {
@@ -1564,7 +1564,7 @@ class t3lib_TCEforms_inline {
         * @return      integer         The corrected pid to be used for a new record
         */
        protected function getNewRecordPid($table, $parentPid=null) {
-               $newRecordPid = $this->inlineFirstPid; 
+               $newRecordPid = $this->inlineFirstPid;
                $pageTS = t3lib_beFunc::getPagesTSconfig($parentPid, true);
                if (isset($pageTS['TCAdefaults.'][$table.'.']['pid']) && t3lib_div::testInt($pageTS['TCAdefaults.'][$table.'.']['pid'])) {
                        $newRecordPid = $pageTS['TCAdefaults.'][$table.'.']['pid'];
@@ -1811,7 +1811,7 @@ class t3lib_TCEforms_inline {
                if (!isset($config['appearance']) || !is_array($config['appearance'])) {
                        $config['appearance'] = array();
                }
-                       // 'newRecordLinkPosition' is deprecated since TYPO3 4.2.0-beta1, this is for backward compatibility: 
+                       // 'newRecordLinkPosition' is deprecated since TYPO3 4.2.0-beta1, this is for backward compatibility:
                if (!isset($config['appearance']['levelLinksPosition']) && isset($config['appearance']['newRecordLinkPosition']) && $config['appearance']['newRecordLinkPosition']) {
                        $config['appearance']['levelLinksPosition'] = $config['appearance']['newRecordLinkPosition'];
                }
@@ -2348,7 +2348,7 @@ class t3lib_TCEforms_inline {
         * Wraps a text with an anchor and returns the HTML representation.
         *
         * @param       string          $text: The text to be wrapped by an anchor
-        * @param       string          $link: The link to be used in the anchor 
+        * @param       string          $link: The link to be used in the anchor
         * @param       array           $attributes: Array of attributes to be used in the anchor
         * @return      string          The wrapped texted as HTML representation
         */
index dfa7312..68d9557 100755 (executable)
@@ -70,7 +70,7 @@ class t3lib_transl8tools      {
         * Returns array of system languages
         * @param       integer         page id (only used to get TSconfig configuration setting flag and label for default language)
         * @param       string          Backpath for flags
-        * @return      array           
+        * @return      array
         */
        function getSystemLanguages($page_id=0,$backPath='')    {
                global $TCA,$LANG;
index 7c3caf8..aa94409 100644 (file)
@@ -39,7 +39,7 @@ interface t3lib_tceformsInlineHook {
         * Initializes this hook object.
         *
         * @param       t3lib_TCEforms_inline           $parentObject: The calling t3lib_TCEforms_inline object.
-        * @return      void 
+        * @return      void
         */
        public function init(&$parentObject);
 
index 0ff0dd3..3412739 100755 (executable)
@@ -358,7 +358,7 @@ class SC_index {
                                                        </td>
                                                </tr>
                                        </table>
-                                       
+
                                        '.$this->makeLoginNews().'
                                        <!--
                                                Copyright notice:
@@ -367,7 +367,7 @@ class SC_index {
                                                '.$this->makeCopyrightNotice().'
                                        </div>
 
-                                       
+
                                </td>
                        </tr>
                </table>';
@@ -598,7 +598,7 @@ class SC_index {
                        }
 
                        $title = $GLOBALS['TYPO3_CONF_VARS']['BE']['loginNewsTitle'] ? htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['BE']['loginNewsTitle']) : htmlspecialchars($this->L_vars[8]);
-                               // Wrap 
+                               // Wrap
                        $newsContent = '
 
                                        <!--
index 5ed6a3b..db6d0b3 100644 (file)
@@ -52,9 +52,9 @@ require_once(PATH_t3lib.'class.t3lib_topmenubase.php');
  * @subpackage core
  */
 class SC_logomenu extends t3lib_topmenubase {
-       
+
        var $id = '_logomenu';
-       
+
        /**
         * Main function
         *
@@ -65,7 +65,7 @@ class SC_logomenu extends t3lib_topmenubase {
                        case 'menuitem':
                                echo '
                                <img src="gfx/x_t3logo.png" width="61" height="16" hspace="3" alt="" />';
-                               
+
                                $menuItems = array(
                                        array(
                                                'title' => 'About TYPO3',
@@ -142,23 +142,23 @@ class SC_logomenu extends t3lib_topmenubase {
                                                'onclick' => "top.document.location='logout.php';"
                                        ),
                                );
-                               
+
                                echo $this->menuLayer($menuItems);
                        break;
                        case 'recent':
 
                                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
-                                                       'sys_log.*, MAX(sys_log.tstamp) AS tstamp_MAX', 
-                                                       'sys_log,pages', 
+                                                       'sys_log.*, MAX(sys_log.tstamp) AS tstamp_MAX',
+                                                       'sys_log,pages',
                                                        'pages.uid=sys_log.event_pid AND sys_log.userid='.intval($GLOBALS['BE_USER']->user['uid']).
                                                                ' AND sys_log.event_pid>0 AND sys_log.type=1 AND sys_log.action=2 AND sys_log.error=0',
                                                        'tablename,recuid',
                                                        'tstamp_MAX DESC',
                                                        20
                                                );
-                                       
+
                                $items = array();
-                               
+
                                while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))       {
                                        $elRow = t3lib_BEfunc::getRecord($row['tablename'],$row['recuid']);
                                        if (is_array($elRow))   {
index ac3e250..b39fba9 100644 (file)
@@ -182,7 +182,7 @@ class wslib_gui {
                        $browse.='<br/>';
                }
                $browse.='<br/>';
-               
+
                $workspaceOverviewList = $this->displayWorkspaceOverview_list($pArray);
                if ($workspaceOverviewList || $this->alwaysDisplayHeader) {
                        // Make header of overview:
@@ -208,12 +208,12 @@ class wslib_gui {
                                        <td>' . $LANG->getLL('label_lifecycle') . '</td>
                                        '.($this->showWorkspaceCol ? '<td>' . $LANG->getLL('label_workspace') . '</td>' : '').'
                                </tr>';
-       
+
                        // Add lines from overview:
                        $tableRows = array_merge($tableRows, $workspaceOverviewList);
-       
+
                        $table = '<table border="0" cellpadding="0" cellspacing="1" class="lrPadding workspace-overview">'.implode('',$tableRows).'</table>';
-       
+
                        // script
                        if ($this->addHlSubelementsScript && !strstr($this->doc->JScode, 'function hlSubelements(')) {
                                $table = $this->doc->wrapScriptTags('
@@ -533,7 +533,7 @@ class wslib_gui {
 
        /**
         * Filtering out items in pArray according to pointer and result-per-page setting
-        * 
+        *
         * @param       array           Hierarchical storage of the elements to display (see displayWorkspaceOverview() / displayWorkspaceOverview_setInPageArray())
         * @return      array           Returns statistics about the pointer state.
         */
@@ -547,14 +547,14 @@ class wslib_gui {
                                        if (is_array($pArray[$k.'_']))  {
                                                foreach($pArray[$k.'_'] as $table => $oidArray) {
                                                        foreach($oidArray as $oid => $recs)     {
-                                                                       
-                                                                       // Check, if the item count has reached the point where we want to set the in-point.    
+
+                                                                       // Check, if the item count has reached the point where we want to set the in-point.
                                                                $beginWasSet = FALSE;
                                                                if (!isset($stat['begin']) && (int)$stat['allItems'] >= $pointer*$resPerPage)   {
                                                                        $stat['begin']=(int)$stat['allItems']+1;
                                                                        $beginWasSet = TRUE;
                                                                }
-                                                               
+
                                                                        // If in-point is not set, unset the previous items.
                                                                if (!isset($stat['begin']))     {
                                                                        unset($pArray[$k.'_'][$table][$oid]);
@@ -573,7 +573,7 @@ class wslib_gui {
                                                                        unset($pArray[$k.'_'][$table][$oid]);
                                                                }
                                                        }
-                                                       
+
                                                                // Clean-up if no more items:
                                                        if (!count($pArray[$k.'_'][$table]))    {
                                                                unset($pArray[$k.'_'][$table]);
@@ -585,7 +585,7 @@ class wslib_gui {
                                                        unset($pArray[$k.'_']);
                                                }
                                        }
-                                       
+
                                                // Call recursively for sub-rows:
                                        if (is_array($pArray[$k.'.']))  {
                                                $stat = $this->cropWorkspaceOverview_list($pArray[$k.'.'],$pointer,$resPerPage,$stat);