Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
ouwiki_word Class Reference

Represents single word for html comparison. More...

Public Member Functions

 __construct ($word, $start)
 
 ouwiki_word ($word, $start)
 Old syntax of class constructor. More...
 

Public Attributes

 $start
 Start position in original xhtml.
 
 $word
 Word as plain string.
 

Detailed Description

Represents single word for html comparison.

Note that words are just chunks of plain text and may not be actual words; they could include punctuation or (if there was e.g. a span in the middle of something) even be part-words.

Member Function Documentation

◆ ouwiki_word()

ouwiki_word::ouwiki_word (   $word,
  $start 
)

Old syntax of class constructor.

Deprecated in PHP7.

Deprecated:
since Moodle 3.1

The documentation for this class was generated from the following file: