{name} {month}/{day}{month}
{icon}
{mn:mnname} $uri = ee()->uri; $segments = ee()->uri->segment_array(); $sid = $uri->segment(4, null); new Saint($this, $this->obj->getLife($sid)); echo $-> $this->createSaintForToday($this->getSaintID()); function getURLSegment() { return $this->getID().'-'.$this->getURLTitle(); } function getHymnsURL() { return '/saints/troparia/'.$this->getDatePath().'/'.$this->getID().'-'.$this->getURLTitle(); } function getDatePath() { return date('Y/m/d', $this->getTimeObject()); } function getTimeObject() { if( !isset($this->source['m'])) { return $this->parent->getTimeRelativeToMyDate(0); } return mktime(0, 0, 0, $this->source['m'], $this->source['d'], $this->getSourceYear()); } function getURLTitle() { return $this->generateSlug($this->getTitle()); } function generateSlug($phrase, $maxLength = 64) { $result = html_entity_decode($phrase); $result = strtolower($result); $result = preg_replace("/[^a-z0-9\s-]/", "", $result); $result = trim(preg_replace("/[\s-]+/", " ", $result)); $result = trim(substr($result, 0, $maxLength)); $result = preg_replace("/\s/", "-", $result); return $result; } function getTitle() { if (isset($this->source['head'])) { return $this->source['head']; } return $this->source['name']; } */ ?>