PHP Trait App\Helpers\Macros\Traits\Dropdowns

Show file Open project: rappasoft/laravel-5-boilerplate

Public Methods

Method Description
selectCanadaTerritories ( $name, null $selected = null, array $options = [] ) : mixed
selectCountry ( $name, null $selected = null, array $options = [] ) : string Use this to set the default country dropdown type for the shorthand method
selectCountryAlpha ( $name, null $selected = null, array $options = [] ) : mixed
selectCountryAlpha2 ( $name, null $selected = null, array $options = [] ) : string
selectCountryAlpha3 ( $name, null $selected = null, array $options = [] ) : string
selectCountryNumeric ( $name, null $selected = null, array $options = [] ) : string
selectState ( $name, null $selected = null, array $options = [] ) : string Use this to set the default country state type for the shorthand method
selectStateMexico ( $name, null $selected = null, array $options = [] ) : mixed
selectStateUS ( $name, null $selected = null, array $options = [] ) : string
selectStateUSArmedForces ( $name, null $selected = null, array $options = [] ) : mixed
selectStateUSOutlyingTerritories ( $name, null $selected = null, array $options = [] ) : mixed
selectTimezone ( $name, null $selected = null, array $options = [] ) : mixed

Private Methods

Method Description
formatOffset ( $offset ) : string

Method Details

selectCanadaTerritories() public method

public selectCanadaTerritories ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed

selectCountry() public method

Use this to set the default country dropdown type for the shorthand method
public selectCountry ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectCountryAlpha() public method

public selectCountryAlpha ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed

selectCountryAlpha2() public method

public selectCountryAlpha2 ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectCountryAlpha3() public method

public selectCountryAlpha3 ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectCountryNumeric() public method

public selectCountryNumeric ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectState() public method

Use this to set the default country state type for the shorthand method
public selectState ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectStateMexico() public method

public selectStateMexico ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed

selectStateUS() public method

public selectStateUS ( $name, null $selected = null, array $options = [] ) : string
$name
$selected null
$options array
return string

selectStateUSArmedForces() public method

public selectStateUSArmedForces ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed

selectStateUSOutlyingTerritories() public method

public selectStateUSOutlyingTerritories ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed

selectTimezone() public method

public selectTimezone ( $name, null $selected = null, array $options = [] ) : mixed
$name
$selected null
$options array
return mixed