|
| static | macProcessor () |
| |
| static | linuxProcessor () |
| |
|
static | userAgent () |
| |
|
static | chrome () |
| |
|
static | firefox () |
| |
|
static | safari () |
| |
|
static | opera () |
| |
|
static | internetExplorer () |
| |
|
static | windowsPlatformToken () |
| |
|
static | macPlatformToken () |
| |
|
static | linuxPlatformToken () |
| |
| static | randomDigit () |
| |
| static | randomDigitNotNull () |
| |
| static | randomDigitNot ($except) |
| |
|
static | randomNumber ($nbDigits=null, $strict=false) |
| |
|
static | randomFloat ($nbMaxDecimals=null, $min=0, $max=null) |
| |
|
static | numberBetween ($int1=0, $int2=2147483647) |
| |
| static | passthrough ($value) |
| |
| static | randomLetter () |
| |
| static | randomAscii () |
| |
| static | randomElements ($array=array('a', 'b', 'c'), $count=1, $allowDuplicates=false) |
| |
| static | randomElement ($array=array('a', 'b', 'c')) |
| |
| static | randomKey ($array=array()) |
| |
|
static | shuffle ($arg='') |
| |
|
static | shuffleArray ($array=array()) |
| |
|
static | shuffleString ($string='', $encoding='UTF-8') |
| |
| static | numerify ($string='###') |
| |
| static | lexify ($string='????') |
| |
| static | bothify ($string='## ??') |
| |
|
static | asciify ($string=' ****') |
| |
|
static | regexify ($regex='') |
| |
| static | toLower ($string='') |
| |
| static | toUpper ($string='') |
| |
|
|
static | $userAgents = array('firefox', 'chrome', 'internetExplorer', 'opera', 'safari') |
| |
| static | $windowsPlatformTokens |
| |
| static | $linuxProcessor = array('i686', 'x86_64') |
| |
| static | $macProcessor = array('Intel', 'PPC', 'U; Intel', 'U; PPC') |
| |
| static | $lang = array('en-US', 'sl-SI') |
| |
◆ linuxProcessor()
| static Faker\Provider\UserAgent::linuxProcessor |
( |
| ) |
|
|
static |
Generate linux processor
- Returns
- string
◆ macProcessor()
| static Faker\Provider\UserAgent::macProcessor |
( |
| ) |
|
|
static |
Generate mac processor
- Returns
- string
◆ $lang
| Faker\Provider\UserAgent::$lang = array('en-US', 'sl-SI') |
|
staticprotected |
Add as many languages as you like.
◆ $linuxProcessor
| Faker\Provider\UserAgent::$linuxProcessor = array('i686', 'x86_64') |
|
staticprotected |
Possible processors on Linux
◆ $macProcessor
| Faker\Provider\UserAgent::$macProcessor = array('Intel', 'PPC', 'U; Intel', 'U; PPC') |
|
staticprotected |
Mac processors (it also added U;)
◆ $windowsPlatformTokens
| Faker\Provider\UserAgent::$windowsPlatformTokens |
|
staticprotected |
Initial value:= array(
'Windows NT 6.2', 'Windows NT 6.1', 'Windows NT 6.0', 'Windows NT 5.2', 'Windows NT 5.1',
'Windows NT 5.01', 'Windows NT 5.0', 'Windows NT 4.0', 'Windows 98; Win 9x 4.90', 'Windows 98',
'Windows 95', 'Windows CE'
)
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Provider/UserAgent.php