Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 

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: