PHP Class Oara\Curl\Access

Author: Carlos Morillo Merino
Afficher le fichier Open project: fubralimited/php-oara

Méthodes publiques

Méthode 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 )

Private Methods

Méthode Description
keyName ( array $a, $pos ) : mixed
keyPosition ( array $data, $key ) : integer | null

Method Details

__construct() public méthode

\Oara\Curl\Access constructor.
public __construct ( $credentials )
$credentials

createCookieDir() public méthode

Creating the cookie directory
public createCookieDir ( $credentials )
$credentials

get() public méthode

Get
public get ( array $urls, integer $deep, $allowEmptyResult = false ) : array
$urls array
$deep integer
Résultat array

getCookiePath() public méthode

public getCookiePath ( ) : array
Résultat array

getCookies() public méthode

public getCookies ( ) : string
Résultat string

getOptions() public méthode

public getOptions ( ) : array
Résultat array

getPostFields() public méthode

public getPostFields ( array $data ) : string
$data array
Résultat string

post() public méthode

Post
public post ( array $urls, integer $deep, $allowEmptyResult = false ) : array
$urls array
$deep integer
Résultat array

setCookiePath() public méthode

public setCookiePath ( $cookiePath )
$cookiePath

setCookies() public méthode

public setCookies ( $data ) : string
Résultat string

setOptions() public méthode

public setOptions ( $options )
$options