Lines Matching +refs:text +refs:line
7 var $text; variable in CalenDoku_CalendarComponent
15 function __construct($plugin, $text) { argument
16 if (!preg_match('/^BEGIN:VEVENT/', $text))
18 $text = preg_replace('/^BEGIN:VEVENT/', '', $text);
19 if (!preg_match('/END:VEVENT$/', $text))
21 $text = preg_replace('/END:VEVENT$/', '', $text);
25 $this->explodeText($text);
30 function explodeText($text) { argument
31 $textlines = preg_split('/\n/', $text);
34 foreach ($textlines as $line) {
35 if (preg_match('/^ /', $line)) {
36 $line = preg_replace('/^ /', '', $line);
39 $this->icalfields[$curfield] = $this->icalfields[$curfield]."\n".$line;
41 $pregretval = preg_split('/:/', $line, 2);
297 …$text = preg_replace('/^[\s\n]*BEGIN:VCALENDAR\n(.*)\nEND:VCALENDAR[\n\s]*$/s', '\1', $page, -1, $…
303 $this->separateComponents($text);
306 function separateComponents($text) { argument
312 if (preg_match_all('/BEGIN:VEVENT\n.*?END:VEVENT/s', $text, $vevents)) {
322 function reHandleText($text, $pos, $handler) { argument
323 $instructions = p_get_instructions($text);