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
\JLinkedinOauth
OAuth object- $options
\Joomla\Registry\Registry
Linkedin options object.- $client
\JHttp
The HTTP client object.
__get
Magic method to lazily create API objects
__get(string $name) : \JLinkedinObject
since |
3.2.0 |
---|---|
throws |
|
Arguments
- $name
string
Name of property to retrieve
Response
\JLinkedinObject
Linkedin API object (statuses, users, favorites, etc.).
getOption
Get an option from the JLinkedin instance.
getOption(string $key) : mixed
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to get.
Response
mixed
The option value.
setOption
Set an option for the Linkedin instance.
setOption(string $key, mixed $value) : \JLinkedin
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to set.- $value
mixed
The option value to set.
Response
\JLinkedin
This object for method chaining.
Properties
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