original_string: public function index()
      {
          // Setup default profile summary sections
          $sections = ArrayList::create();
  
          $sections->push(
              ArrayData::create(
                  array(
                  "Title" => "",
                  "Content" => $this->renderWith(
                      "UsersProfileSummary",
                      array("CurrentUser" => Member::currentUser())
                  )
                  )
              )
          );
  
          // Allow users to add extra content sections to the
          // summary
          $this->extend("updateIndexSections", $sections);
  
          $this->customise(
              array(
              "Title" => _t('Users.ProfileSummary', 'Profile Summary'),
              "MetaTitle" => _t('Users.ProfileSummary', 'Profile Summary'),
              "Content" => $this->renderWith(
                  "UsersAccountSections",
                  array("Sections" => $sections)
              )
              )
          );
  
          $this->extend("onBeforeIndex");
  
          return $this->renderWith(
              array(
              "UserAccount",
              "Page"
              )
          );
      }
code: public function index()
      {
          // Setup default profile summary sections
          $sections = ArrayList::create();
  
          $sections->push(
              ArrayData::create(
                  array(
                  "Title" => "",
                  "Content" => $this->renderWith(
                      "UsersProfileSummary",
                      array("CurrentUser" => Member::currentUser())
                  )
                  )
              )
          );
  
          // Allow users to add extra content sections to the
          // summary
          $this->extend("updateIndexSections", $sections);
  
          $this->customise(
              array(
              "Title" => _t('Users.ProfileSummary', 'Profile Summary'),
              "MetaTitle" => _t('Users.ProfileSummary', 'Profile Summary'),
              "Content" => $this->renderWith(
                  "UsersAccountSections",
                  array("Sections" => $sections)
              )
              )
          );
  
          $this->extend("onBeforeIndex");
  
          return $this->renderWith(
              array(
              "UserAccount",
              "Page"
              )
          );
      }
code_tokens: public function index ( ) { // Setup default profile summary sections $ sections = ArrayList :: create ( ) ; $ sections -> push ( ArrayData :: create ( array ( "Title" => "" , "Content" => $ this -> renderWith ( "UsersProfileSummary" , array ( "CurrentUser" => Member :: currentUser ( ) ) ) ) ) ) ; // Allow users to add extra content sections to the // summary $ this -> extend ( "updateIndexSections" , $ sections ) ; $ this -> customise ( array ( "Title" => _t ( 'Users.ProfileSummary' , 'Profile Summary' ) , "MetaTitle" => _t ( 'Users.ProfileSummary' , 'Profile Summary' ) , "Content" => $ this -> renderWith ( "UsersAccountSections" , array ( "Sections" => $ sections ) ) ) ) ; $ this -> extend ( "onBeforeIndex" ) ; return $ this -> renderWith ( array ( "UserAccount" , "Page" ) ) ; }
docstring: Display the currently outstanding orders for the current user
  
  @return HTMLText
docstring_tokens: Display the currently outstanding orders for the current user