예제 #1
0
 public function executeGetListTitle()
 {
     if ($this->hasRequestParameter('title') && $this->getRequestParameter('title') != '') {
         $title = $this->getRequestParameter('title');
         $c = new Criteria();
         $c->add(CatalogPeer::TITLE, "%{$title}%", Criteria::LIKE);
         $this->rows = CatalogPeer::doSelectFiltered($c);
     }
 }