Project

General

Profile

Actions

Task #75363

closed

Methodname "JStop" has nothing to do with JS

Added by Stefan Froemken over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2016-04-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:
On Location Sprint

Description

Hello Core-Team,

have fun reading TYPO3 sourcecode in FormResultCompiler.php

/**
 * JavaScript code added BEFORE the form is drawn:
 *
 * @return string A <script></script> section with JavaScript.
 */
public function JStop()
{
    $stylesheetHtml = [];
    foreach ($this->stylesheetFiles as $stylesheetFile) {
        $stylesheetHtml[] = '<link rel="stylesheet" type="text/css" href="' . $stylesheetFile . '" />';
    }
    return implode(LF, $stylesheetHtml);
}

Would be good to rename that method or add some JS stuff in there.

Stefan

Actions

Also available in: Atom PDF