JLinkedinJobs
Extends \JLinkedinObjectLinkedin 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)
since |
3.2.0 |
---|
Arguments
- $options
\Joomla\Registry\Registry
Linkedin options object.- $client
\JHttp
The HTTP client object.- $oauth
\JLinkedinOAuth
The OAuth client.
bookmark
Method to bookmark a job to the current user's account.
bookmark(integer $id) : array
since |
3.2.0 |
---|
Arguments
- $id
integer
The unique identifier for a job.
Response
array
The decoded JSON response
booleanToString
Method to convert boolean to string.
booleanToString(boolean $bool) : string
since |
3.2.0 |
---|
Arguments
- $bool
boolean
The boolean value to convert.
Response
string
String with the converted boolean.
deleteBookmark
Method to delete a bookmark.
deleteBookmark(integer $id) : array
since |
3.2.0 |
---|
Arguments
- $id
integer
The unique identifier for a job.
Response
array
The 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
string
Request fields beyond the default ones.
Response
array
The 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
integer
The unique identifier for a job.- $fields
string
Request fields beyond the default ones.
Response
array
The decoded JSON response
getOption
Get an option from the JLinkedinObject instance.
getOption(string $key) : mixed
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to get.
Response
mixed
The 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
string
Request fields beyond the default ones.- $start
integer
Starting location within the result set for paginated returns.- $count
integer
The number of results returned.
Response
array
The decoded JSON response
search
Method to search across LinkedIn's job postings.
search(string $fields = null, string $keywords = null, string $companyName = null, string $jobTitle = null, string $countryCode = null, integer $postalCode = null, integer $distance = null, string $facets = null, array $facet = null, integer $start, integer $count, string $sort = null) : array
since |
3.2.0 |
---|
Arguments
- $fields
string
Request fields beyond the default ones.- $keywords
string
Members who have all the keywords anywhere in their profile.- $companyName
string
Jobs with a matching company name.- $jobTitle
string
Matches jobs with the same job title.- $countryCode
string
Matches members with a location in a specific country. Values are defined in by ISO 3166 standard. Country codes must be in all lower case.- $postalCode
integer
Matches members centered around a Postal Code. Must be combined with the country-code parameter. Not supported for all countries.- $distance
integer
Matches members within a distance from a central point. This is measured in miles.- $facets
string
Facet buckets to return, e.g. location.- $facet
array
Array of facet values to search over. Contains values for company, date-posted, location, job-function, industry, and salary, in exactly this order, null must be specified for an element if no value.- $start
integer
Starting location within the result set for paginated returns.- $count
integer
The number of results returned.- $sort
string
Controls the search result order. There are four options: R (relationship), DA (date-posted-asc), DD (date-posted-desc).
Response
array
The decoded JSON response
setOption
Set an option for the JLinkedinObject instance.
setOption(string $key, mixed $value) : \JLinkedinObject
since |
3.2.0 |
---|
Arguments
- $key
string
The name of the option to set.- $value
mixed
The option value to set.
Response
\JLinkedinObject
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