plugins/ProfileExtender/class.profileextender.plugin.php
private function GetProfileFields() {
      $Fields = C('ProfileExtender.Fields', array());

      if (!is_array($Fields))
         $Fields = array();

      // Data checks
      foreach ($Fields as $Name => $Field) {
         // Require an array for each field
         if (!is_array($Field) || strlen($Name) < 1) {
            unset($Fields[$Name]);
            //RemoveFromConfig('ProfileExtender.Fields.'.$Name);
         }

         // Verify field form type
         if (!isset($Field['FormType']))
            $Fields[$Name]['FormType'] = 'TextBox';
         elseif (!array_key_exists($Field['FormType'], $this->FormTypes))
            unset($this->ProfileFields[$Name]);
      }

      return $Fields;
   }
private function GetProfileFields() {
      $Fields = C('ProfileExtender.Fields', array());

      if (!is_array($Fields))
         $Fields = array();

      // Data checks
      foreach ($Fields as $Name => $Field) {
         // Require an array for each field
         if (!is_array($Field) || strlen($Name) < 1) {
            unset($Fields[$Name]);
            //RemoveFromConfig('ProfileExtender.Fields.'.$Name);
         }

         // Verify field form type
         if (!isset($Field['FormType']))
            $Fields[$Name]['FormType'] = 'TextBox';
         elseif (!array_key_exists($Field['FormType'], $this->FormTypes))
            unset($this->ProfileFields[$Name]);
      }

      return $Fields;
   }
private function GetProfileFields ( ) { $ Fields = C ( 'ProfileExtender.Fields' , array ( ) ) ; if ( ! is_array ( $ Fields ) ) $ Fields = array ( ) ; // Data checks foreach ( $ Fields as $ Name => $ Field ) { // Require an array for each field if ( ! is_array ( $ Field ) || strlen ( $ Name ) < 1 ) { unset ( $ Fields [ $ Name ] ) ; //RemoveFromConfig('ProfileExtender.Fields.'.$Name); } // Verify field form type if ( ! isset ( $ Field [ 'FormType' ] ) ) $ Fields [ $ Name ] [ 'FormType' ] = 'TextBox' ; elseif ( ! array_key_exists ( $ Field [ 'FormType' ] , $ this -> FormTypes ) ) unset ( $ this -> ProfileFields [ $ Name ] ) ; } return $ Fields ; }
Get custom profile fields.

@return array
Get custom profile fields .