public function quotes()
{
if (empty($this->moviequotes)) {
$page = $this->getPage("Quotes");
if (empty($page)) {
return array();
}
if (preg_match_all('!<div class="sodatext">\\s*(.*?)\\s*</div>!ims', str_replace("\n", " ", $page), $matches)) {
foreach ($matches[1] as $match) {
$this->moviequotes[] = str_replace('href="/name/', 'href="http://' . $this->imdbsite . '/name/', preg_replace('!<span class="linksoda".+?</span>!ims', '', $match));
}
}
}
return $this->moviequotes;
}