Commit e0d328aa authored by Wouter Wolters's avatar Wouter Wolters Committed by Frank Nägler
Browse files

[TASK] Use "bool" in @param notation

Resolves: #62468
Releases: master
Change-Id: I2790ca5817e16cfe0dc1c43151d2587ca796294a
Reviewed-on: http://review.typo3.org/33523

Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarFrank Nägler <typo3@naegler.net>
Tested-by: default avatarFrank Nägler <typo3@naegler.net>
parent 85bfe391
......@@ -28,7 +28,7 @@ class localPageTree extends \TYPO3\CMS\Backend\Tree\View\BrowseTreeView {
*
* @param string $title Title, (must be ready for output, that means it must be htmlspecialchars()'ed).
* @param array $v The record
* @param boolean $ext_pArrPages (Ignore)
* @param bool $ext_pArrPages (Ignore)
* @return string Wrapping title string.
*/
public function wrapTitle($title, $v, $ext_pArrPages = '') {
......@@ -99,7 +99,7 @@ class localPageTree extends \TYPO3\CMS\Backend\Tree\View\BrowseTreeView {
*
* @param string $icon HTML string to wrap, probably an image tag.
* @param string $cmd Command for 'PM' get var
* @param boolean $bMark If set, the link will have a anchor point (=$bMark) and a name attribute (=$bMark)
* @param bool $bMark If set, the link will have a anchor point (=$bMark) and a name attribute (=$bMark)
* @return string Link-wrapped input string
*/
public function PM_ATagWrap($icon, $cmd, $bMark = '') {
......@@ -152,7 +152,7 @@ class TBE_PageTree extends localPageTree {
*
* @param string $title Title, ready for output.
* @param array $v The record
* @param boolean $ext_pArrPages If set, pages clicked will return immediately, otherwise reload page.
* @param bool $ext_pArrPages If set, pages clicked will return immediately, otherwise reload page.
* @return string Wrapping title string.
*/
public function wrapTitle($title, $v, $ext_pArrPages) {
......@@ -224,7 +224,7 @@ class localFolderTree extends \TYPO3\CMS\Backend\Tree\View\FolderTreeView {
*
* @param string $icon HTML string to wrap, probably an image tag.
* @param string $cmd Command for 'PM' get var
* @param boolean $bMark If set, the link will have a anchor point (=$bMark) and a name attribute (=$bMark)
* @param bool $bMark If set, the link will have a anchor point (=$bMark) and a name attribute (=$bMark)
* @return string Link-wrapped input string
* @access private
*/
......
......@@ -409,7 +409,7 @@ class ClickMenu {
*
* @param string $url The URL relative to TYPO3_mainDir
* @param string $retUrl The return_url-parameter
* @param boolean $hideCM If set, the "hideCM()" will be called
* @param bool $hideCM If set, the "hideCM()" will be called
* @param string $overrideLoc If set, gives alternative location to load in (for example top frame or somewhere else)
* @return string JavaScript for an onClick event.
*/
......@@ -868,7 +868,7 @@ class ClickMenu {
* @param string $moduleName Script (deprecated) or module name (e.g. file_edit) to pass &target= to
* @param string $type "type" is the code which fetches the correct label for the element from "cm.
* @param string $image icon image-filename from "gfx/" (12x12 icon)
* @param boolean $noReturnUrl If set, the return URL parameter will not be set in the link
* @param bool $noReturnUrl If set, the return URL parameter will not be set in the link
* @return array Item array, element in $menuItems
* @internal
*/
......@@ -1276,8 +1276,8 @@ class ClickMenu {
* @param string $str The label, htmlspecialchar'ed already
* @param string $icon <img>-tag for the icon
* @param string $onClick JavaScript onclick event for label/icon
* @param boolean $onlyCM ==1 and the element will NOT appear in clickmenus in the topframe (unless clickmenu is totally unavailable)! ==2 and the item will NEVER appear in top frame. (This is mostly for "less important" options since the top frame is not capable of holding so many elements horizontally)
* @param boolean $dontHide If set, the clickmenu layer will not hide itself onclick - used for secondary menus to appear...
* @param bool $onlyCM ==1 and the element will NOT appear in clickmenus in the topframe (unless clickmenu is totally unavailable)! ==2 and the item will NEVER appear in top frame. (This is mostly for "less important" options since the top frame is not capable of holding so many elements horizontally)
* @param bool $dontHide If set, the clickmenu layer will not hide itself onclick - used for secondary menus to appear...
* @return array $menuItem entry with 6 numerical entries: [0] is the HTML for display of the element with link and icon an mouseover etc., [1]-[5] is simply the input params passed through!
*/
public function linkItem($str, $icon, $onClick, $onlyCM = 0, $dontHide = 0) {
......
......@@ -214,7 +214,7 @@ class Clipboard {
*
* @param array $CBarr Element array from outside ("key" => "selected/deselected")
* @param string $table The 'table which is allowed'. Must be set.
* @param boolean $removeDeselected Can be set in order to remove entries which are marked for deselection.
* @param bool $removeDeselected Can be set in order to remove entries which are marked for deselection.
* @return array Processed input $CBarr
*/
public function cleanUpCBC($CBarr, $table, $removeDeselected = 0) {
......@@ -507,8 +507,8 @@ class Clipboard {
*
* @param string $table Table name
* @param integer $uid Uid of record
* @param boolean $copy If set, copymode will be enabled
* @param boolean $deselect If set, the link will deselect, otherwise select.
* @param bool $copy If set, copymode will be enabled
* @param bool $deselect If set, the link will deselect, otherwise select.
* @param array $baseArray The base array of GET vars to be sent in addition. Notice that current GET vars WILL automatically be included.
* @return string URL linking to the current script but with the CB array set to select the element with table/uid
*/
......@@ -525,8 +525,8 @@ class Clipboard {
* Returns the select-url for files
*
* @param string $path Filepath
* @param boolean $copy If set, copymode will be enabled
* @param boolean $deselect If set, the link will deselect, otherwise select.
* @param bool $copy If set, copymode will be enabled
* @param bool $deselect If set, the link will deselect, otherwise select.
* @param array $baseArray The base array of GET vars to be sent in addition. Notice that current GET vars WILL automatically be included.
* @return string URL linking to the current script but with the CB array set to select the path
*/
......@@ -546,7 +546,7 @@ class Clipboard {
*
* @param string $table Tablename (_FILE for files)
* @param mixed $uid "destination": can be positive or negative indicating how the paste is done (paste into / paste after)
* @param boolean $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
* @param bool $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
* @param array|NULL $update Additional key/value pairs which should get set in the moved/copied record (via DataHandler)
* @return string
*/
......@@ -565,8 +565,8 @@ class Clipboard {
/**
* deleteUrl for current pad
*
* @param boolean $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
* @param boolean $file If set, then the URL will link to the tce_file.php script in the typo3/ dir.
* @param bool $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
* @param bool $file If set, then the URL will link to the tce_file.php script in the typo3/ dir.
* @return string
*/
public function deleteUrl($setRedirect = 1, $file = 0) {
......
......@@ -166,7 +166,7 @@ class ConditionMatcher extends \TYPO3\CMS\Core\Configuration\TypoScript\Conditio
*
* @param string $table Name of the table
* @param integer $id Id of the accordant record
* @param boolean $ignoreTable Whether to ignore the page, if TRUE a positive
* @param bool $ignoreTable Whether to ignore the page, if TRUE a positive
* @return integer Id of the page the record is persisted on
*/
protected function getPageIdByRecord($table, $id, $ignoreTable = FALSE) {
......
......@@ -25,7 +25,7 @@ abstract class AbstractContextMenuRenderer {
* Renders an action recursive or just a single one
*
* @param \TYPO3\CMS\Backend\ContextMenu\ContextMenuAction $action
* @param boolean $recursive
* @param bool $recursive
* @return mixed
*/
abstract public function renderAction(\TYPO3\CMS\Backend\ContextMenu\ContextMenuAction $action, $recursive = FALSE);
......@@ -34,7 +34,7 @@ abstract class AbstractContextMenuRenderer {
* Renders an action collection recursive or just a single one
*
* @param \TYPO3\CMS\Backend\ContextMenu\ContextMenuActionCollection $actionCollection
* @param boolean $recursive
* @param bool $recursive
* @return mixed
*/
abstract public function renderActionCollection(\TYPO3\CMS\Backend\ContextMenu\ContextMenuActionCollection $actionCollection, $recursive = FALSE);
......@@ -43,7 +43,7 @@ abstract class AbstractContextMenuRenderer {
* Renders a context menu recursive or just a single one
*
* @param \TYPO3\CMS\Backend\ContextMenu\AbstractContextMenu $contextMenu
* @param boolean $recursive
* @param bool $recursive
* @return mixed
*/
abstract public function renderContextMenu(\TYPO3\CMS\Backend\ContextMenu\AbstractContextMenu $contextMenu, $recursive = FALSE);
......
......@@ -578,7 +578,7 @@ class NewRecordController {
* @param string $linkText Link text
* @param string $table Table name (in which to create new record)
* @param integer $pid PID value for the "&edit['.$table.']['.$pid.']=new" command (positive/negative)
* @param boolean $addContentTable If $addContentTable is set, then a new tt_content record is created together with pages
* @param bool $addContentTable If $addContentTable is set, then a new tt_content record is created together with pages
* @return string The link.
*/
public function linkWrap($linkText, $table, $pid, $addContentTable = FALSE) {
......
......@@ -214,7 +214,7 @@ class FlexElement extends AbstractFormElement {
* @param string $formPrefix Form field prefix, eg. "[data][sDEF][lDEF][...][...]
* @param integer $level Indicates nesting level for the function call
* @param string $idPrefix Prefix for ID-values
* @param boolean $toggleClosed Defines whether the next flexform level is open or closed. Comes from _TOGGLE pseudo field in FlexForm xml.
* @param bool $toggleClosed Defines whether the next flexform level is open or closed. Comes from _TOGGLE pseudo field in FlexForm xml.
* @return string HTMl code for form.
*/
public function getSingleField_typeFlex_draw($dataStruct, $editData, $table, $field, $row, &$PA, $formPrefix = '', $level = 0, $idPrefix = 'ID', $toggleClosed = FALSE) {
......
......@@ -494,7 +494,7 @@ class InlineElement {
* @param string $foreign_table The foreign_table we create a header for
* @param array $rec The current record of that foreign_table
* @param array $config content of $PA['fieldConf']['config']
* @param boolean $isVirtualRecord
* @param bool $isVirtualRecord
* @return string The HTML code of the header
*/
public function renderForeignRecordHeader($parentUid, $foreign_table, $rec, $config, $isVirtualRecord = FALSE) {
......@@ -1677,7 +1677,7 @@ class InlineElement {
*
* @param array $records All inline records on this level
* @param array $conf The TCA field configuration of the inline field to be rendered
* @param boolean $splitValue For usage with group/db, values come like "tx_table_123|Title%20abc", but we need "tx_table" and "123
* @param bool $splitValue For usage with group/db, values come like "tx_table_123|Title%20abc", but we need "tx_table" and "123
* @return array The uids, that have been used already and should be used unique
*/
public function getUniqueIds($records, $conf = array(), $splitValue = FALSE) {
......@@ -1948,7 +1948,7 @@ class InlineElement {
* - 'unstable': Containting partly filled data (e.g. only table and possibly field)
*
* @param string $domObjectId The DOM object-id
* @param boolean $loadConfig Load the TCA configuration for that level (default: TRUE)
* @param bool $loadConfig Load the TCA configuration for that level (default: TRUE)
* @return void
*/
public function parseStructureString($string, $loadConfig = TRUE) {
......
......@@ -36,7 +36,7 @@ interface InlineElementHookInterface {
* @param string $foreignTable The table (foreign_table) we create control-icons for
* @param array $childRecord The current record of that foreign_table
* @param array $childConfig TCA configuration of the current field of the child record
* @param boolean $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record
* @param bool $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record
* @param array &$enabledControls (reference) Associative array with the enabled control items
* @return void
*/
......@@ -49,7 +49,7 @@ interface InlineElementHookInterface {
* @param string $foreignTable The table (foreign_table) we create control-icons for
* @param array $childRecord The current record of that foreign_table
* @param array $childConfig TCA configuration of the current field of the child record
* @param boolean $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record
* @param bool $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record
* @param array &$controlItems (reference) Associative array with the currently available control items
* @return void
*/
......
......@@ -270,7 +270,7 @@ class FormDataTraverser {
* @param array $selectItemArray The select item array generated by \TYPO3\CMS\Backend\Form\FormEngine->getSelectItems.
* @param string $value The currently selected value(s) as comma separated list.
* @param integer|NULL $maxItems Optional value, if set processing is skipped and an empty array will be returned when the number of selected values is larger than the provided value.
* @param boolean $returnLabels If TRUE the select labels will be returned instead of the values.
* @param bool $returnLabels If TRUE the select labels will be returned instead of the values.
* @return array
*/
protected function getSelectedValuesFromSelectItemArray(array $selectItemArray, $value, $maxItems = NULL, $returnLabels = FALSE) {
......
......@@ -1039,7 +1039,7 @@ class FormEngine {
* @param string $field The field name
* @param array $row The record to edit from the database table.
* @param string $altName Alternative field name label to show.
* @param boolean $palette Set this if the field is on a palette (in top frame), otherwise not. (if set, field will render as a hidden field).
* @param bool $palette Set this if the field is on a palette (in top frame), otherwise not. (if set, field will render as a hidden field).
* @param string $extra The "extra" options from "Part 4" of the field configurations found in the "types" "showitem" list. Typically parsed by $this->getSpecConfFromString() in order to get the options as an associative array.
* @param integer $pal The palette pointer.
* @return mixed String (normal) or array (palettes)
......@@ -1547,7 +1547,7 @@ class FormEngine {
* @param array $languages
* @param string $elName
* @param array $selectedLanguage
* @param boolean $multi
* @param bool $multi
* @return string HTML for menu
*/
public function getSingleField_typeFlex_langMenu($languages, $elName, $selectedLanguage, $multi = TRUE) {
......@@ -2535,7 +2535,7 @@ class FormEngine {
* @param array $PA Additional configuration array. (passed by reference!)
* @param string $itemName The field name
* @param array $specConf Special configuration if available.
* @param boolean $RTE Whether the RTE could have been loaded.
* @param bool $RTE Whether the RTE could have been loaded.
* @return string The new item value.
*/
public function renderWizards($itemKinds, $wizConf, $table, $row, $field, &$PA, $itemName, $specConf, $RTE = FALSE) {
......@@ -2970,7 +2970,7 @@ class FormEngine {
* @param string $table The table name for which to open the palette.
* @param string $row Palette ID
* @param string $palette The record array
* @param boolean $collapsed TRUE if collapsed
* @param bool $collapsed TRUE if collapsed
* @return boolean Is collapsed
*/
public function wrapPaletteField($code, $table, $row, $palette, $collapsed) {
......@@ -3023,7 +3023,7 @@ class FormEngine {
* Returns parameters to set the width for a <input>/<textarea>-element
*
* @param integer $size The abstract size value (1-48)
* @param boolean $textarea If this is for a text area.
* @param bool $textarea If this is for a text area.
* @return string Either a "style" attribute string or "cols"/"size" attribute string.
*/
public function formWidth($size = 48, $textarea = FALSE) {
......@@ -3040,7 +3040,7 @@ class FormEngine {
* Returns parameters to set the width for a <input>/<textarea>-element
*
* @param integer $size The abstract size value (1-48)
* @param boolean $textarea If set, calculates sizes for a text area.
* @param bool $textarea If set, calculates sizes for a text area.
* @return array An array containing style, class, and width attributes.
*/
public function formWidthAsArray($size = 48, $textarea = FALSE) {
......@@ -3089,7 +3089,7 @@ class FormEngine {
* Get style CSS values for the current field type.
*
* @param string $type Field type (eg. "check", "radio", "select")
* @param boolean $class If set, will return value only if prefixed with CLASS, otherwise must not be prefixed "CLASS
* @param bool $class If set, will return value only if prefixed with CLASS, otherwise must not be prefixed "CLASS
* @return string CSS attributes
* @deprecated since TYPO3 CMS 7, will be removed in CMS 8
*/
......@@ -3480,7 +3480,7 @@ class FormEngine {
* @param array $fieldValue The 'columns' array for the field (from TCA)
* @param array $TSconfig TSconfig for the table/row
* @param string $field The fieldname
* @param boolean $pFFlag If set, then we are fetching the 'neg_' foreign tables.
* @param bool $pFFlag If set, then we are fetching the 'neg_' foreign tables.
* @return array The $items array modified.
* @see addSelectOptionsToItemArray(), BackendUtility::exec_foreign_table_where_query()
*/
......@@ -3945,7 +3945,7 @@ class FormEngine {
* ... and then include the result of this function after the form
*
* @param string $formname The identification of the form on the page.
* @param boolean $update Just extend/update existing settings, e.g. for AJAX call
* @param bool $update Just extend/update existing settings, e.g. for AJAX call
* @return string A section with JavaScript - if $update is FALSE, embedded in <script></script>
*/
public function JSbottom($formname = 'forms[0]', $update = FALSE) {
......@@ -4401,8 +4401,8 @@ class FormEngine {
/**
* Returns an array of available languages (to use for FlexForms)
*
* @param boolean $onlyIsoCoded If set, only languages which are paired with a static_info_table / static_language record will be returned.
* @param boolean $setDefault If set, an array entry for a default language is set.
* @param bool $onlyIsoCoded If set, only languages which are paired with a static_info_table / static_language record will be returned.
* @param bool $setDefault If set, an array entry for a default language is set.
* @return array
*/
public function getAvailableLanguages($onlyIsoCoded = TRUE, $setDefault = TRUE) {
......@@ -4592,8 +4592,8 @@ class FormEngine {
* Get the dynNestedStack as associative array.
* The result is e.g. ['tab','DTM-ABCD-1'], ['inline','data[13][table][uid][field]'], ['tab','DTM-DEFG-2'], ...
*
* @param boolean $json Return a JSON string instead of an array - default: FALSE
* @param boolean $skipFirst Skip the first element in the dynNestedStack - default: FALSE
* @param bool $json Return a JSON string instead of an array - default: FALSE
* @param bool $skipFirst Skip the first element in the dynNestedStack - default: FALSE
* @return mixed Returns an associative array by default. If $json is TRUE, it will be returned as JSON string.
*/
public function getDynNestedStack($json = FALSE, $skipFirst = FALSE) {
......@@ -4634,7 +4634,7 @@ class FormEngine {
* Sets the current situation of nested tabs and inline levels for a given element.
*
* @param string $itemName The element the nesting should be stored for
* @param boolean $setLevel Set the reverse level lookup - default: TRUE
* @param bool $setLevel Set the reverse level lookup - default: TRUE
* @return void
*/
protected function registerNestedElement($itemName, $setLevel = TRUE) {
......
......@@ -352,7 +352,7 @@ class ModuleSettings {
* Returns the storage control box
*
* @param string $showElements List of elemetns which should be shown: load,remove,save
* @param boolean $useOwnForm If set the box is wrapped with own form tag
* @param bool $useOwnForm If set the box is wrapped with own form tag
* @return string HTML code
*/
public function getStoreControl($showElements = 'load,remove,save', $useOwnForm = TRUE) {
......
......@@ -397,7 +397,7 @@ abstract class AbstractRecordList {
* Return the icon for the language
*
* @param integer $sys_language_uid Sys language uid
* @param boolean $addAsAdditionalText If set to true, only the flag is returned
* @param bool $addAsAdditionalText If set to true, only the flag is returned
* @return string Language icon
*/
public function languageFlag($sys_language_uid, $addAsAdditionalText = TRUE) {
......
......@@ -227,7 +227,7 @@ class SpriteGenerator {
/**
* Enables/Disables HighDensitySprite Generation
*
* @param boolean $enable
* @param bool $enable
* @return SpriteGenerator An instance of $this, to enable "chaining".
*/
public function setEnableHighDensitySprite($enable = TRUE) {
......@@ -238,7 +238,7 @@ class SpriteGenerator {
/**
* Setter do enable the exclusion of the sprites-name from iconnames
*
* @param boolean $value
* @param bool $value
* @return SpriteGenerator An instance of $this, to enable "chaining".
* @deprecated since 6.2, will be removed two versions later - use setOmitSpriteNameInIconName() instead
*/
......@@ -250,7 +250,7 @@ class SpriteGenerator {
/**
* Setter do enable the exclusion of the sprites-name from iconnames
*
* @param boolean $value
* @param bool $value
* @return SpriteGenerator An instance of $this, to enable "chaining".
*/
public function setOmitSpriteNameInIconName($value) {
......@@ -272,7 +272,7 @@ class SpriteGenerator {
/**
* Setter for timestamp inclusion: imageFiles will be included with ?timestamp
*
* @param boolean $value
* @param bool $value
* @return SpriteGenerator An instance of $this, to enable "chaining".
*/
public function setIncludeTimestampInCSS($value) {
......
......@@ -447,10 +447,10 @@ function jumpToUrl(URL) {
* @param string $str String to be wrapped in link, typ. image tag.
* @param string $table Table name/File path. If the icon is for a database record, enter the tablename from $GLOBALS['TCA']. If a file then enter the absolute filepath
* @param integer $uid If icon is for database record this is the UID for the record from $table
* @param boolean $listFr Tells the top frame script that the link is coming from a "list" frame which means a frame from within the backend content frame.
* @param bool $listFr Tells the top frame script that the link is coming from a "list" frame which means a frame from within the backend content frame.
* @param string $addParams Additional GET parameters for the link to alt_clickmenu.php
* @param string $enDisItems Enable / Disable click menu items. Example: "+new,view" will display ONLY these two items (and any spacers in between), "new,view" will display all BUT these two items.
* @param boolean $returnOnClick If set, will return only the onclick JavaScript, not the whole link.
* @param bool $returnOnClick If set, will return only the onclick JavaScript, not the whole link.
* @return string The link-wrapped input string.
*/
public function wrapClickMenuOnIcon($str, $table, $uid = 0, $listFr = TRUE, $addParams = '', $enDisItems = '', $returnOnClick = FALSE) {
......@@ -517,7 +517,7 @@ function jumpToUrl(URL) {
* @param string $table Table name
* @param array $row Record row
* @param string $path Alt text
* @param boolean $noViewPageIcon Set $noViewPageIcon TRUE if you don't want a magnifier-icon for viewing the page in the frontend
* @param bool $noViewPageIcon Set $noViewPageIcon TRUE if you don't want a magnifier-icon for viewing the page in the frontend
* @param array $tWrap is an array with indexes 0 and 1 each representing HTML-tags (start/end) which will wrap the title
* @param bool $enableClickMenu If TRUE, render click menu code around icon image
* @return string HTML content
......@@ -633,7 +633,7 @@ function jumpToUrl(URL) {
* For CSS compliant browsers (recommended) a ' style="width: ...px;"' is returned.
*
* @param integer $size A relative number which multiplied with approx. 10 will lead to the width in pixels
* @param boolean $textarea A flag you can set for textareas - DEPRECATED as there is no difference any more between the two
* @param bool $textarea A flag you can set for textareas - DEPRECATED as there is no difference any more between the two
* @param string $styleOverride A string which will be returned as attribute-value for style="" instead of the calculated width (if CSS is enabled)
* @return string Tag attributes for an <input> tag (regarding width)
*/
......@@ -721,7 +721,7 @@ function jumpToUrl(URL) {
/**
* Defines whether to use the X-UA-Compatible meta tag.
*
* @param boolean $useCompatibilityTag Whether to use the tag
* @param bool $useCompatibilityTag Whether to use the tag
* @return void
*/
public function useCompatibilityTag($useCompatibilityTag = TRUE) {
......@@ -739,7 +739,7 @@ function jumpToUrl(URL) {
* This includes the proper header with charset, title, meta tag and beginning body-tag.
*
* @param string $title HTML Page title for the header
* @param boolean $includeCsh flag for including CSH
* @param bool $includeCsh flag for including CSH
* @return string Returns the whole header section of a HTML-document based on settings in internal variables (like styles, javascript code, charset, generator and docType)
* @see endPage()
*/
......@@ -887,7 +887,7 @@ function jumpToUrl(URL) {
*
* @param string $title page title
* @param string $content page content
* @param boolean $includeCsh flag for including csh code
* @param bool $includeCsh flag for including csh code
* @return string complete page
*/
public function render($title, $content, $includeCsh = TRUE) {
......@@ -918,10 +918,10 @@ function jumpToUrl(URL) {
*
* @param string $label The header
* @param string $text The HTML-content
* @param boolean $nostrtoupper A flag that will prevent the header from being converted to uppercase
* @param boolean $sH Defines the type of header (if set, "<h3>" rather than the default "h4")
* @param bool $nostrtoupper A flag that will prevent the header from being converted to uppercase
* @param bool $sH Defines the type of header (if set, "<h3>" rather than the default "h4")
* @param integer $type The number of an icon to show with the header (see the icon-function). -1,1,2,3
* @param boolean $allowHTMLinHeader If set, HTML tags are allowed in $label (otherwise this value is by default htmlspecialchars()'ed)
* @param bool $allowHTMLinHeader If set, HTML tags are allowed in $label (otherwise this value is by default htmlspecialchars()'ed)
* @return string HTML content
* @see icons(), sectionHeader()
*/
......@@ -980,7 +980,7 @@ function jumpToUrl(URL) {
* Begins a section if not already open.
*
* @param string $label The label between the <h3> or <h4> tags. (Allows HTML)
* @param boolean $sH If set, <h3> is used, otherwise <h4>
* @param bool $sH If set, <h3> is used, otherwise <h4>
* @param string $addAttrib Additional attributes to h-tag, eg. ' class=""'
* @return string HTML content
*/
......@@ -1297,7 +1297,7 @@ function jumpToUrl(URL) {
* This is nice for identing JS code with PHP code on the same level.
*
* @param string $string Input string
* @param boolean $linebreak Wrap script element in linebreaks? Default is TRUE.
* @param bool $linebreak Wrap script element in linebreaks? Default is TRUE.
* @return string Output string
*/
public function wrapScriptTags($string, $linebreak = TRUE) {
......@@ -1552,9 +1552,9 @@ function jumpToUrl(URL) {
* @param array $menuItems Numeric array where each entry is an array in itself with associative keys: "label" contains the label for the TAB, "content" contains the HTML content that goes into the div-layer of the tabs content. "description" contains description text to be shown in the layer. "linkTitle" is short text for the title attribute of the tab-menu link (mouse-over text of tab). "stateIcon" indicates a standard status icon (see ->icon(), values: -1, 1, 2, 3). "icon" is an image tag placed before the text.
* @param string $identString Identification string. This should be unique for every instance of a dynamic menu!
* @param integer $toggle If "1", then enabling one tab does not hide the others - they simply toggles each sheet on/off. This makes most sense together with the $foldout option. If "-1" then it acts normally where only one tab can be active at a time BUT you can click a tab and it will close so you have no active tabs.
* @param boolean $foldout If set, the tabs are rendered as headers instead over each sheet. Effectively this means there is no tab menu, but rather a foldout/foldin menu. Make sure to set $toggle as well for this option.
* @param boolean $noWrap Deprecated - delivered by CSS
* @param boolean $fullWidth If set, the tabs will span the full width of their position
* @param bool $foldout If set, the tabs are rendered as headers instead over each sheet. Effectively this means there is no tab menu, but rather a foldout/foldin menu. Make sure to set $toggle as well for this option.
* @param bool $noWrap Deprecated - delivered by CSS
* @param bool $fullWidth If set, the tabs will span the full width of their position
* @param integer $defaultTabIndex Default tab to open (for toggle <=0). Value corresponds to integer-array index + 1 (index zero is "1", index "1" is 2 etc.). A value of zero (or something non-existing) will result in no default tab open.
* @param integer $dividers2tabs If set to '1' empty tabs will be remove, If set to '2' empty tabs will be disabled
* @return string JavaScript section for the HTML header.
......@@ -1671,7 +1671,7 @@ function jumpToUrl(URL) {
* Requires the core version management extension, "version" to be loaded.
*
* @param integer $id Page id to create selector for.
* @param boolean $noAction If set, there will be no button for swapping page.
* @param bool $noAction If set, there will be no button for swapping page.
* @return string
*/
public function getVersionSelector($id, $noAction = FALSE) {
......
......@@ -182,7 +182,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the leaf node indicator
*
* @param boolean $isLeaf
* @param bool $isLeaf
* @return void
*/
public function setLeaf($isLeaf) {
......@@ -201,7 +201,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the expandable indicator
*
* @param boolean $expandable
* @param bool $expandable
* @return void
*/
public function setExpandable($expandable) {
......@@ -220,7 +220,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the expanded indicator
*
* @param boolean $expanded
* @param bool $expanded
* @return void
*/
public function setExpanded($expanded) {
......@@ -242,7 +242,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the draggable indicator
*
* @param boolean $draggable
* @param bool $draggable
* @return void
*/
public function setDraggable($draggable) {
......@@ -261,7 +261,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the indicator if the node can be a drop target
*
* @param boolean $isDropTarget
* @param bool $isDropTarget
* @return void
*/
public function setIsDropTarget($isDropTarget) {
......@@ -333,7 +333,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the paste copy indicator
*
* @param boolean $inCopyMode
* @param bool $inCopyMode
* @return void
*/
public function setInCopyMode($inCopyMode) {
......@@ -352,7 +352,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the paste cut indicator
*
* @param boolean $inCutMode
* @param bool $inCutMode
* @return void
*/
public function setInCutMode($inCutMode) {
......@@ -446,7 +446,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the indicator if the label is editable
*
* @param boolean $labelIsEditable
* @param bool $labelIsEditable
* @return void
*/
public function setLabelIsEditable($labelIsEditable) {
......@@ -516,7 +516,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Sets the indicator if the node can have child nodes
*
* @param boolean $allowChildren
* @param bool $allowChildren
* @return void
*/
public function setAllowChildren($allowChildren) {
......@@ -535,7 +535,7 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Returns the node in an array representation that can be used for serialization
*
* @param boolean $addChildNodes
* @param bool $addChildNodes
* @return array
*/
public function toArray($addChildNodes = TRUE) {
......
......@@ -220,7 +220,7 @@ class Commands {
* Returns a node from the given node id
*
* @param integer $nodeId
* @param boolean $unsetMovePointers
* @param bool $unsetMovePointers
* @return \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode
*/
static public function getNode($nodeId, $unsetMovePointers = TRUE) {
......@@ -262,7 +262,7 @@ class Commands {
* Returns a node record from a given id
*
* @param integer $nodeId
* @param boolean $unsetMovePointers
* @param bool $unsetMovePointers
* @return array
*/
static public function getNodeRecord($nodeId, $unsetMovePointers = TRUE) {
......
......@@ -177,7 +177,7 @@ class DataProvider extends \TYPO3\CMS\Backend\Tree\AbstractTreeDataProvider {
* Wrapper method for \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordWSOL
*
* @param integer $uid The page id
* @param boolean $unsetMovePointers Whether to unset move pointers
* @param bool $unsetMovePointers Whether to unset move pointers
* @return array
*/
protected function getRecordWithWorkspaceOverlay($uid, $unsetMovePointers = FALSE) {
......
......@@ -125,7 +125,7 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode {