1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
   class MyMember extends DataObjectDecorator {
  /**
   * Modify the field set to be displayed in the CMS detail pop-up
   */
/*  function updateCMSFields(FieldSet $currentFields) {
    // Only show the additional fields on an appropriate kind of use 
    if(Permission::checkMember($this->owner->ID, "VIEW_FORUM")) {
      // Edit the fieldset passed, adding or removing fields as necessary
    }
  } */
 
  function extraStatics() {
			return array(
				'db' => array(
					"Phone" => "Int"
				),
			);
  }
 


}
?>