* The form id saved to the session for an update
*
* @var int
- * @access protected
*/
protected $_id;
* The title for group
*
* @var int
- * @access protected
*/
protected $_title;
protected $_groupElement;
* Set variables up before form is built
*
* @return void
- * @access public
*/
public function preProcess() {
// current form id
* Build the form object
*
* @return void
- * @access public
*/
public function buildQuickForm() {
if ($this->_action & (CRM_Core_Action::DISABLE | CRM_Core_Action::DELETE)) {
* Set default values for the form. Note that in edit/view mode
* the default values are retrieved from the database
*
- * @access public
*
* @return void
*/
- function setDefaultValues() {
+ public function setDefaultValues() {
$defaults = array();
$showHide = new CRM_Core_ShowHideBlocks();
* @param array $self current form object.
*
* @return true if no errors, else array of errors
- * @access public
* @static
*/
- static function formRule($fields, $files, $self) {
+ public static function formRule($fields, $files, $self) {
$errors = array();
//validate profile title as well as name.
* Process the form
*
* @return void
- * @access public
*/
public function postProcess() {
if ($this->_action & CRM_Core_Action::DELETE) {
CRM_Utils_System::updateCategories();
}
}
-