params = $params; } /** * @inheritdoc */ public function show() { parent::show(); echo $this->params['name']; } public function add_attendance_calendar($data) { $this->attendance_calendar[] = $data; } }