original_string: private function AddModuleTypeOption(Select $select, $type)
      {
          if ($type != 'BuiltIn-Container'  ||
                  (!Request::GetData('container') && Container::Schema()->Count() > 0))
          {
              $select->AddOption($type, Trans($type));
          }
      }
code: private function AddModuleTypeOption(Select $select, $type)
      {
          if ($type != 'BuiltIn-Container'  ||
                  (!Request::GetData('container') && Container::Schema()->Count() > 0))
          {
              $select->AddOption($type, Trans($type));
          }
      }
code_tokens: private function AddModuleTypeOption ( Select $ select , $ type ) { if ( $ type != 'BuiltIn-Container' || ( ! Request :: GetData ( 'container' ) && Container :: Schema ( ) -> Count ( ) > 0 ) ) { $ select -> AddOption ( $ type , Trans ( $ type ) ) ; } }
docstring: Adds the module type option, if allowed
  @param Select $select The select box
  @param string $type The module type
docstring_tokens: Adds the module type option if allowed