Esempio n. 1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $mapper = $this->getMapper();
     $mapper->addParam('id', true);
     $mapper->addParam('name', true);
     $mapper->addParam('active', false, false);
 }
Esempio n. 2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $mapper = $this->getMapper();
     $mapper->addParam('xml', true);
 }