0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
vendor
/
flp
/
flp
/
Phraser
/
[
Home
]
File: PhraseLocation.php
<?php /** * Created by PhpStorm. * User: robert * Date: 11/21/13 * Time: 3:08 PM */ namespace Phraser; class PhraseLocation { public $beginning; public $end; public $phraseWords; public $parentWords; public $index = 0; public $ended = false; private static $phraseLocations = array(); public function __construct($beginning, $end, $phraseWords, $parentWords) { $this->beginning = $beginning; $this->end = $end; $this->phraseWords = $phraseWords; $this->parentWords = $parentWords; $this->index++; foreach(PhraseLocation::$phraseLocations as $location) { if ( $location->beginning == $beginning && $location->end == $end && $location->phraseWords == $phraseWords && $location->parentWords == $parentWords ) { $this->index++; } } } }