Linkedin

Joomla Framework class for interacting with a Linkedin API instance.

deprecated
since

1.0

deprecated

The joomla/linkedin package is deprecated

Methods

__construct

Constructor.

__construct(\Joomla\Linkedin\OAuth $oauth = null, array $options = array(), \Joomla\Http\Http $client = null) 
since

1.0

Arguments

$oauth

\Joomla\Linkedin\OAuthThe Linkedin OAuth client.

$options

arrayLinkedin options array.

$client

\Joomla\Http\HttpThe HTTP client object.

__get

Magic method to lazily create API objects

__get(string $name) : \Joomla\Linkedin\AbstractLinkedinObject
since

1.0

throws

\InvalidArgumentExceptionIf $name is not a valid sub class.

Arguments

$name

stringName of property to retrieve

Response

\Joomla\Linkedin\AbstractLinkedinObjectLinkedin API object (statuses, users, favorites, etc.).

getOption

Get an option from the Linkedin instance.

getOption(string $key) : mixed
since

1.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) : \Joomla\Linkedin\Linkedin
since

1.0

Arguments

$key

stringThe name of the option to set.

$value

mixedThe option value to set.

Response

\Joomla\Linkedin\LinkedinThis object for method chaining.

Properties

options

Options for the Linkedin object.

since

1.0

Type(s)

array

client

The HTTP client object to use in sending HTTP requests.

since

1.0

Type(s)

\Joomla\Http\Http

oauth

The OAuth client.

since

1.0

Type(s)

\Joomla\Linkedin\OAuth

people

Linkedin API object for people.

since

1.0

Type(s)

\Joomla\Linkedin\People

groups

Linkedin API object for groups.

since

1.0

Type(s)

\Joomla\Linkedin\Groups

companies

Linkedin API object for companies.

since

1.0

Type(s)

\Joomla\Linkedin\Companies

jobs

Linkedin API object for jobs.

since

1.0

Type(s)

\Joomla\Linkedin\Jobs

stream

Linkedin API object for social stream.

since

1.0

Type(s)

\Joomla\Linkedin\Stream

communications

Linkedin API object for communications.