Esempio n. 1
0
 function showAppCName()
 {
     $c = new AppCategory();
     $c->id = $this->getCid();
     $c->name = $this->getCatName();
     $c->permaLink = $this->getCatPermaLink();
     return $c->showListVal("name");
 }
Esempio n. 2
0
 function showListVal($attr)
 {
     global $lll;
     if ($attr == "catName") {
         if (!$this->cid) {
             return $lll["allCategories"];
         }
         $c = new AppCategory();
         $c->id = $this->cid;
         $c->name = $this->catName;
         $c->permaLink = $this->catPermaLink;
         return $c->showListVal("name");
     } elseif (($s = parent::showListVal($attr)) !== FALSE) {
         return $s;
     } else {
         $s = parent::showListVal($attr, "safetext");
     }
     return $s;
 }