original_string: protected function createLoginForm($showToken = null, $showPasswordLost = null)
      {
          $args = \MUtil_Ra::args(func_get_args(),
                  array(
                      'showToken' => 'is_boolean',
                      'showPasswordLost' => 'is_boolean',
                      ),
                  array(
                      'showToken' => $this->showTokenButton,
                      'showPasswordLost' => $this->showPasswordLostButton,
                      'labelWidthFactor' => $this->labelWidthFactor,
                      'organizationMaxLines' => $this->organizationMaxLines,
                      ));
  
          \Gems_Html::init();
  
          if ($this->layeredLogin === true) {
              // Allow to set labels without modifying the form by overriding the below methods
              $args['topOrganizationDescription']   = $this->getTopOrganizationDescription();
              $args['childOrganizationDescription'] = $this->getChildOrganizationDescription();
  
              return $this->loader->getUserLoader()->getLayeredLoginForm($args);
  
          } else {
              return $this->loader->getUserLoader()->getLoginForm($args);
          }
      }
code: protected function createLoginForm($showToken = null, $showPasswordLost = null)
      {
          $args = \MUtil_Ra::args(func_get_args(),
                  array(
                      'showToken' => 'is_boolean',
                      'showPasswordLost' => 'is_boolean',
                      ),
                  array(
                      'showToken' => $this->showTokenButton,
                      'showPasswordLost' => $this->showPasswordLostButton,
                      'labelWidthFactor' => $this->labelWidthFactor,
                      'organizationMaxLines' => $this->organizationMaxLines,
                      ));
  
          \Gems_Html::init();
  
          if ($this->layeredLogin === true) {
              // Allow to set labels without modifying the form by overriding the below methods
              $args['topOrganizationDescription']   = $this->getTopOrganizationDescription();
              $args['childOrganizationDescription'] = $this->getChildOrganizationDescription();
  
              return $this->loader->getUserLoader()->getLayeredLoginForm($args);
  
          } else {
              return $this->loader->getUserLoader()->getLoginForm($args);
          }
      }
code_tokens: protected function createLoginForm ( $ showToken = null , $ showPasswordLost = null ) { $ args = \ MUtil_Ra :: args ( func_get_args ( ) , array ( 'showToken' => 'is_boolean' , 'showPasswordLost' => 'is_boolean' , ) , array ( 'showToken' => $ this -> showTokenButton , 'showPasswordLost' => $ this -> showPasswordLostButton , 'labelWidthFactor' => $ this -> labelWidthFactor , 'organizationMaxLines' => $ this -> organizationMaxLines , ) ) ; \ Gems_Html :: init ( ) ; if ( $ this -> layeredLogin === true ) { // Allow to set labels without modifying the form by overriding the below methods $ args [ 'topOrganizationDescription' ] = $ this -> getTopOrganizationDescription ( ) ; $ args [ 'childOrganizationDescription' ] = $ this -> getChildOrganizationDescription ( ) ; return $ this -> loader -> getUserLoader ( ) -> getLayeredLoginForm ( $ args ) ; } else { return $ this -> loader -> getUserLoader ( ) -> getLoginForm ( $ args ) ; } }
docstring: Returns a login form
  
  @param boolean $showToken Optional, show 'Ask token' button, $this->showTokenButton is used when not specified
  @param boolean $showPasswordLost Optional, show 'Lost password' button, $this->showPasswordLostButton is used when not specified
  @return \Gems_User_Form_LoginForm
docstring_tokens: Returns a login form