public function __construct() { $_GET['type'] = $_GET['typeName'] = $_POST['typeName'] = $this->modelName; parent::__construct(); $this->addGet('create', 'add'); }