|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| ouwiki_line ($data, $linepos) | |
| get_as_string () | |
| get_as_strings ($lines) | |
| is_empty () | |
Data Fields | |
| $words = array() | |
Class representing one 'line' of HTML content for the purpose of text comparison.
Definition at line 273 of file difflib.php.
| get_as_string | ( | ) |
Definition at line 326 of file difflib.php.
| get_as_strings | ( | $ | lines | ) |
Static function converts lines to strings.
| array | $lines | Array of ouwiki_line |
Definition at line 342 of file difflib.php.

| is_empty | ( | ) |
Definition at line 354 of file difflib.php.
| ouwiki_line | ( | $ | data, |
| $ | linepos | ||
| ) |
Construct line object based on a chunk of text.
| string | $data | Text data that makes up this 'line'. (May include line breaks etc.) |
| int | $linepos | Position number for first character in text |
Definition at line 282 of file difflib.php.
| $words = array() |
Array of ouwiki_words
Definition at line 275 of file difflib.php.