plugins/ProfileExtender/class.profileextender.plugin.php
public function SettingsController_ProfileExtender_Create($Sender) {
      $Sender->Permission('Garden.Settings.Manage');
      // Detect if we need to upgrade settings
      if (!C('ProfileExtender.Fields'))
         $this->Setup();

      // Set data
      $Data = $this->GetProfileFields();
      $Sender->SetData('ExtendedFields', $Data);

      $Sender->AddSideMenu('settings/profileextender');
      $Sender->SetData('Title', T('Profile Fields'));
      $Sender->Render('settings', '', 'plugins/ProfileExtender');
   }
public function SettingsController_ProfileExtender_Create($Sender) {
      $Sender->Permission('Garden.Settings.Manage');
      // Detect if we need to upgrade settings
      if (!C('ProfileExtender.Fields'))
         $this->Setup();

      // Set data
      $Data = $this->GetProfileFields();
      $Sender->SetData('ExtendedFields', $Data);

      $Sender->AddSideMenu('settings/profileextender');
      $Sender->SetData('Title', T('Profile Fields'));
      $Sender->Render('settings', '', 'plugins/ProfileExtender');
   }
public function SettingsController_ProfileExtender_Create ( $ Sender ) { $ Sender -> Permission ( 'Garden.Settings.Manage' ) ; // Detect if we need to upgrade settings if ( ! C ( 'ProfileExtender.Fields' ) ) $ this -> Setup ( ) ; // Set data $ Data = $ this -> GetProfileFields ( ) ; $ Sender -> SetData ( 'ExtendedFields' , $ Data ) ; $ Sender -> AddSideMenu ( 'settings/profileextender' ) ; $ Sender -> SetData ( 'Title' , T ( 'Profile Fields' ) ) ; $ Sender -> Render ( 'settings' , '' , 'plugins/ProfileExtender' ) ; }
Settings page.
Settings page .