[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/TaskLists/ -> Helper.php (summary)

(no description)

File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Helper:: (5 methods):
  filterListItem()
  getStats()
  checkTask()
  uncheckTask()
  setTaskState()


Class: Helper  - X-Ref


filterListItem(Parser $parser, Tag $listItem, string $text)   X-Ref
No description

getStats(string $xml)   X-Ref
Return stats from a parsed representation

param: string $xml Parsed XML
return: array       Number of "checked" and "unchecked" tasks

checkTask(string $xml, string $id)   X-Ref
Mark given task checked in XML

param: string $xml Parsed XML
param: string $id  Task's ID
return: string      Updated XML

uncheckTask(string $xml, string $id)   X-Ref
Mark given task unchecked in XML

param: string $xml Parsed XML
param: string $id  Task's ID
return: string      Updated XML

setTaskState(string $xml, string $id, string $state, string $marker)   X-Ref
Change the state and marker of given task in XML

param: string $xml    Parsed XML
param: string $id     Task's ID
param: string $state  Task's state ("checked" or "unchecked")
param: string $marker State marker ("x" or " ")
return: string         Updated XML



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1