original_string: function load(&$options, $param1=null, $param2=null, $param3=null, $param4=null)
      {
          switch (true) {
              case is_array($options):
                  return $this->loadArray($options, $param1);
                  break;
              case (is_a($options, 'db_result')):
                  return $this->loadDbResult($options, $param1, $param2, $param3);
                  break;
              case (is_string($options) && !empty($options) || is_subclass_of($options, "db_common")):
                  return $this->loadQuery($options, $param1, $param2, $param3, $param4);
                  break;
          }
      }
code: function load(&$options, $param1=null, $param2=null, $param3=null, $param4=null)
      {
          switch (true) {
              case is_array($options):
                  return $this->loadArray($options, $param1);
                  break;
              case (is_a($options, 'db_result')):
                  return $this->loadDbResult($options, $param1, $param2, $param3);
                  break;
              case (is_string($options) && !empty($options) || is_subclass_of($options, "db_common")):
                  return $this->loadQuery($options, $param1, $param2, $param3, $param4);
                  break;
          }
      }
code_tokens: function load ( & $ options , $ param1 = null , $ param2 = null , $ param3 = null , $ param4 = null ) { switch ( true ) { case is_array ( $ options ) : return $ this -> loadArray ( $ options , $ param1 ) ; break ; case ( is_a ( $ options , 'db_result' ) ) : return $ this -> loadDbResult ( $ options , $ param1 , $ param2 , $ param3 ) ; break ; case ( is_string ( $ options ) && ! empty ( $ options ) || is_subclass_of ( $ options , "db_common" ) ) : return $ this -> loadQuery ( $ options , $ param1 , $ param2 , $ param3 , $ param4 ) ; break ; } }
docstring: Loads options from different types of data sources
  
  This method is a simulated overloaded method.  The arguments, other than the
  first are optional and only mean something depending on the type of the first argument.
  If the first argument is an array then all arguments are passed in order to loadArray.
  If the first argument is a db_result then all arguments are passed in order to loadDbResult.
  If the first argument is a string or a DB connection then all arguments are
  passed in order to loadQuery.
  @param     mixed     $options     Options source currently supports assoc array or DB_result
  @param     mixed     $param1     (optional) See function detail
  @param     mixed     $param2     (optional) See function detail
  @param     mixed     $param3     (optional) See function detail
  @param     mixed     $param4     (optional) See function detail
  @since     1.1
  @access    public
  @return    PEAR_Error on error or true
  @throws    PEAR_Error
docstring_tokens: Loads options from different types of data sources