PHP Класс Oara\Curl\Access

Автор: Carlos Morillo Merino
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Приватные методы

Метод Описание
keyName ( array $a, $pos ) : mixed
keyPosition ( array $data, $key ) : integer | null

Описание методов

__construct() публичный метод

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

createCookieDir() публичный метод

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

get() публичный метод

Get
public get ( array $urls, integer $deep, $allowEmptyResult = false ) : array
$urls array
$deep integer
Результат array

getCookiePath() публичный метод

public getCookiePath ( ) : array
Результат array

getCookies() публичный метод

public getCookies ( ) : string
Результат string

getOptions() публичный метод

public getOptions ( ) : array
Результат array

getPostFields() публичный метод

public getPostFields ( array $data ) : string
$data array
Результат string

post() публичный метод

Post
public post ( array $urls, integer $deep, $allowEmptyResult = false ) : array
$urls array
$deep integer
Результат array

setCookiePath() публичный метод

public setCookiePath ( $cookiePath )
$cookiePath

setCookies() публичный метод

public setCookies ( $data ) : string
Результат string

setOptions() публичный метод

public setOptions ( $options )
$options