* Fixed bug #12427 Rename draw*() methods to render*()
authormichael.miousse <michael.miousse@infoglobe.ca>
Fri, 21 Jan 2011 06:04:36 +0000 (06:04 +0000)
committermichael.miousse <michael.miousse@infoglobe.ca>
Fri, 21 Jan 2011 06:04:36 +0000 (06:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/linkvalidator/trunk@42426 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/linkvalidator/ChangeLog
typo3/sysext/linkvalidator/modfuncreport/class.tx_linkvalidator_modfuncreport.php

index ba7e924..68386ae 100644 (file)
@@ -1,4 +1,5 @@
 2011-01-20  Michael Miousse  <michael.miousse@infoglobe.ca> 
+       * Fixed bug #12427 Rename draw*() methods to render*()
        * Fixed bug #12426: Rename classes according to naming conventions
        * Fixed bug #12425: Give modfunc1 a better name
        * Fixed bug #12424: Only use the class name for the hook
index b49eabf..51996fa 100644 (file)
@@ -288,7 +288,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
         */
        protected function render() {
                if ($this->isAccessibleForCurrentUser) {
-                       $this->content = $this->drawBrokenLinksTable();
+                       $this->content = $this->renderBrokenLinksTable();
                } else {
                                // If no access or if ID == zero
                        $message = t3lib_div::makeInstance(
@@ -346,7 +346,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
         *
         * @return html Content of the table or of the note
         */
-       private function drawBrokenLinksTable() {
+       private function renderBrokenLinksTable() {
                $content = '';
                $items = array();
                $brokenLinkItems = '';
@@ -382,7 +382,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
 
                                        // Table rows containing the broken links
                                while (($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))) {
-                                       $items[] = $this->drawTableRow($row['table_name'], $row, $brokenLinksItemTemplate);
+                                       $items[] = $this->renderTableRow($row['table_name'], $row, $brokenLinksItemTemplate);
                                }
                                $brokenLinkItems = implode(chr(10), $items);
 
@@ -448,7 +448,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
         * @param string $brokenLinksItemTemplate Markup of the template to be used
         * @return string HTML of the rendered row
         */
-       private function drawTableRow($table, array $row, $brokenLinksItemTemplate) {
+       private function renderTableRow($table, array $row, $brokenLinksItemTemplate) {
                $markerArray = array();
                if (is_array($row) && !empty($row['link_type'])) {
                        if (($hookObj = $this->hookObjectsArr[$row['link_type']])) {