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