class JLinkedin

Joomla Platform class for interacting with a Linkedin API instance.

Methods

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

Constructor.

__get( string $name)

Magic method to lazily create API objects

mixed
getOption( string $key)

Get an option from the JLinkedin instance.

setOption( string $key, mixed $value)

Set an option for the Linkedin instance.

Details

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

Constructor.

Parameters

JLinkedinOauth $oauth OAuth object
Registry $options Linkedin options object.
JHttp $client The HTTP client object.

JLinkedinObject __get( string $name)

Magic method to lazily create API objects

Parameters

string $name Name of property to retrieve

Return Value

JLinkedinObject Linkedin API object (statuses, users, favorites, etc.).

Exceptions

InvalidArgumentException

mixed getOption( string $key)

Get an option from the JLinkedin instance.

Parameters

string $key The name of the option to get.

Return Value

mixed The option value.

JLinkedin setOption( string $key, mixed $value)

Set an option for the Linkedin instance.

Parameters

string $key The name of the option to set.
mixed $value The option value to set.

Return Value

JLinkedin This object for method chaining.