<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
class CRM_Admin_Form_ParticipantStatusType extends CRM_Admin_Form {
return 'ParticipantStatusType';
}
+ /**
+ * Build form.
+ */
public function buildQuickForm() {
parent::buildQuickForm();
$this->add('text', 'weight', ts('Order'), $attributes['weight'], TRUE);
$this->addSelect('visibility_id', array('label' => ts('Visibility'), 'required' => TRUE));
+
+ $this->assign('id', $this->_id);
}
/**
+ * Set default values.
+ *
* @return array
*/
public function setDefaultValues() {