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