Method | Description | |
---|---|---|
__construct ( $credentials ) | \Oara\Curl\Access constructor. | |
createCookieDir ( $credentials ) | Creating the cookie directory | |
get ( array $urls, integer $deep, $allowEmptyResult = false ) : array | Get | |
getCookiePath ( ) : array | ||
getCookies ( ) : string | ||
getOptions ( ) : array | ||
getPostFields ( array $data ) : string | ||
post ( array $urls, integer $deep, $allowEmptyResult = false ) : array | Post | |
setCookiePath ( $cookiePath ) | ||
setCookies ( $data ) : string | ||
setOptions ( $options ) |
Method | Description | |
---|---|---|
keyName ( array $a, $pos ) : mixed | ||
keyPosition ( array $data, $key ) : integer | null |
public __construct ( $credentials ) | ||
$credentials |
public createCookieDir ( $credentials ) | ||
$credentials |
public getPostFields ( array $data ) : string | ||
$data | array | |
return | string |