JLinkedinJobs

Extends \JLinkedinObject

Linkedin API Jobs class for the Joomla Platform.

since

3.2.0

package

Joomla.Platform

Methods

__construct

Constructor.

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

3.2.0

Arguments

$options

\Joomla\Registry\RegistryLinkedin options object.

$client

\JHttpThe HTTP client object.

$oauth

\JLinkedinOAuthThe OAuth client.

bookmark

Method to bookmark a job to the current user's account.

bookmark(integer $id) : array
since

3.2.0

Arguments

$id

integerThe unique identifier for a job.

Response

arrayThe decoded JSON response

booleanToString

Method to convert boolean to string.

booleanToString(boolean $bool) : string
inherited
since

3.2.0

Arguments

$bool

booleanThe boolean value to convert.

Response

stringString with the converted boolean.

deleteBookmark

Method to delete a bookmark.

deleteBookmark(integer $id) : array
since

3.2.0

Arguments

$id

integerThe unique identifier for a job.

Response

arrayThe decoded JSON response

getBookmarked

Method to get a list of bookmarked jobs for the current member.

getBookmarked(string $fields = null) : array
since

3.2.0

Arguments

$fields

stringRequest fields beyond the default ones.

Response

arrayThe decoded JSON response

getJob

Method to retrieve detailed information about a job.

getJob(integer $id, string $fields = null) : array
since

3.2.0

Arguments

$id

integerThe unique identifier for a job.

$fields

stringRequest fields beyond the default ones.

Response

arrayThe decoded JSON response

getOption

Get an option from the JLinkedinObject instance.

getOption(string $key) : mixed
inherited
since

3.2.0

Arguments

$key

stringThe name of the option to get.

Response

mixedThe option value.

getSuggested

Method to retrieve job suggestions for the current user.

getSuggested(string $fields = null, integer $start, integer $count) : array
since

3.2.0

Arguments

$fields

stringRequest fields beyond the default ones.

$start

integerStarting location within the result set for paginated returns.

$count

integerThe number of results returned.

Response

arrayThe decoded JSON response

setOption

Set an option for the JLinkedinObject instance.

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

3.2.0

Arguments

$key

stringThe name of the option to set.

$value

mixedThe option value to set.

Response

\JLinkedinObjectThis object for method chaining.

Properties

options

Options for the Linkedin object.

inherited
since

3.2.0

Type(s)

\Joomla\Registry\Registry

client

The HTTP client object to use in sending HTTP requests.

inherited
since

3.2.0

Type(s)

\JHttp

oauth

The OAuth client.

inherited
since

3.2.0

Type(s)

\JLinkedinOAuth