JLinkedin

Joomla Platform class for interacting with a Linkedin API instance.

since

3.2.0

package

Joomla.Platform

Methods

__construct

Constructor.

__construct(\JLinkedinOauth $oauth = null, \Joomla\Registry\Registry $options = null, \JHttp $client = null) 
since

3.2.0

Arguments

$oauth

\JLinkedinOauthOAuth object

$options

\Joomla\Registry\RegistryLinkedin options object.

$client

\JHttpThe HTTP client object.

__get

Magic method to lazily create API objects

__get(string $name) : \JLinkedinObject
since

3.2.0

throws

\InvalidArgumentException

Arguments

$name

stringName of property to retrieve

Response

\JLinkedinObjectLinkedin API object (statuses, users, favorites, etc.).

getOption

Get an option from the JLinkedin instance.

getOption(string $key) : mixed
since

3.2.0

Arguments

$key

stringThe name of the option to get.

Response

mixedThe option value.

setOption

Set an option for the Linkedin instance.

setOption(string $key, mixed $value) : \JLinkedin
since

3.2.0

Arguments

$key

stringThe name of the option to set.

$value

mixedThe option value to set.

Response

\JLinkedinThis object for method chaining.

Properties

options

Options for the Linkedin object.

since

3.2.0

Type(s)

\Joomla\Registry\Registry

client

The HTTP client object to use in sending HTTP requests.

since

3.2.0

Type(s)

\JHttp

oauth

The OAuth client.

since

3.2.0

Type(s)

\JLinkedinOAuth

people

Linkedin API object for people.

since

3.2.0

Type(s)

\JLinkedinPeople

groups

Linkedin API object for groups.

since

3.2.0

Type(s)

\JLinkedinGroups

companies

Linkedin API object for companies.

since

3.2.0

Type(s)

\JLinkedinCompanies

jobs

Linkedin API object for jobs.

since

3.2.0

Type(s)

\JLinkedinJobs

stream

Linkedin API object for social stream.

since

3.2.0

Type(s)

\JLinkedinStream

communications

Linkedin API object for communications.

since

3.2.0

Type(s)

\JLinkedinCommunications