public function __get($strName) { switch ($strName) { case 'RequestUrl': return $this->request_url; case 'PageTitle': return _xls_truncate($this->GetPageMeta('SEO_CUSTOMPAGE_TITLE'), 70); default: return parent::__get($strName); } }
public function getPeer() { if (self::$peer === null) { self::$peer = new FamilyPeer(); } return self::$peer; }