Пример #1
0
 /**
  * @return $description
  */
 public function getDescription()
 {
     //adntes vai verificar se já existe um parametro descrição
     $arrayParamether = parent::getParamethersByValues("description", ParametherDAO::TYPE_TEXT);
     //se existir retorna
     if (count($arrayParamether) > 0) {
         if ($arrayParamether[0]->getId() > 0) {
             return $arrayParamether[0]->getValue();
         }
         return NULL;
     }
     return NULL;
 }