示例#1
0
文件: Family.php 项目: hjlan/webstore
 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);
     }
 }
示例#2
0
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new FamilyPeer();
     }
     return self::$peer;
 }