Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

(no description)

File Size: 908 lines (26 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 classes

Google_Service_Tasks:: (1 method):
  __construct()

Google_Service_Tasks_Tasklists_Resource:: (6 methods):
  delete()
  get()
  insert()
  listTasklists()
  patch()
  update()

Google_Service_Tasks_Tasks_Resource:: (8 methods):
  clear()
  delete()
  get()
  insert()
  listTasks()
  move()
  patch()
  update()

Google_Service_Tasks_Task:: (30 methods):
  setCompleted()
  getCompleted()
  setDeleted()
  getDeleted()
  setDue()
  getDue()
  setEtag()
  getEtag()
  setHidden()
  getHidden()
  setId()
  getId()
  setKind()
  getKind()
  setLinks()
  getLinks()
  setNotes()
  getNotes()
  setParent()
  getParent()
  setPosition()
  getPosition()
  setSelfLink()
  getSelfLink()
  setStatus()
  getStatus()
  setTitle()
  getTitle()
  setUpdated()
  getUpdated()

Google_Service_Tasks_TaskLinks:: (6 methods):
  setDescription()
  getDescription()
  setLink()
  getLink()
  setType()
  getType()

Google_Service_Tasks_TaskList:: (12 methods):
  setEtag()
  getEtag()
  setId()
  getId()
  setKind()
  getKind()
  setSelfLink()
  getSelfLink()
  setTitle()
  getTitle()
  setUpdated()
  getUpdated()

Google_Service_Tasks_TaskLists:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_Tasks_Tasks:: (8 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()


Class: Google_Service_Tasks  - X-Ref

Service definition for Tasks (v1).

<p>
Lets you manage your tasks and task lists.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/google-apps/tasks/firstapp" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Tasks service.

param: Google_Client $client

Class: Google_Service_Tasks_Tasklists_Resource  - X-Ref

The "tasklists" collection of methods.
Typical usage is:
<code>
$tasksService = new Google_Service_Tasks(...);
$tasklists = $tasksService->tasklists;
</code>

delete($tasklist, $optParams = array()   X-Ref
Deletes the authenticated user's specified task list. (tasklists.delete)

param: string $tasklist Task list identifier.
param: array $optParams Optional parameters.

get($tasklist, $optParams = array()   X-Ref
Returns the authenticated user's specified task list. (tasklists.get)

param: string $tasklist Task list identifier.
param: array $optParams Optional parameters.
return: Google_Service_Tasks_TaskList

insert(Google_Service_Tasks_TaskList $postBody, $optParams = array()   X-Ref
Creates a new task list and adds it to the authenticated user's task lists.
(tasklists.insert)

param: Google_TaskList $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_TaskList

listTasklists($optParams = array()   X-Ref
Returns all the authenticated user's task lists. (tasklists.listTasklists)

param: array $optParams Optional parameters.
return: Google_Service_Tasks_TaskLists

patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()   X-Ref
Updates the authenticated user's specified task list. This method supports
patch semantics. (tasklists.patch)

param: string $tasklist Task list identifier.
param: Google_TaskList $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_TaskList

update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()   X-Ref
Updates the authenticated user's specified task list. (tasklists.update)

param: string $tasklist Task list identifier.
param: Google_TaskList $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_TaskList

Class: Google_Service_Tasks_Tasks_Resource  - X-Ref

The "tasks" collection of methods.
Typical usage is:
<code>
$tasksService = new Google_Service_Tasks(...);
$tasks = $tasksService->tasks;
</code>

clear($tasklist, $optParams = array()   X-Ref
Clears all completed tasks from the specified task list. The affected tasks
will be marked as 'hidden' and no longer be returned by default when
retrieving all tasks for a task list. (tasks.clear)

param: string $tasklist Task list identifier.
param: array $optParams Optional parameters.

delete($tasklist, $task, $optParams = array()   X-Ref
Deletes the specified task from the task list. (tasks.delete)

param: string $tasklist Task list identifier.
param: string $task Task identifier.
param: array $optParams Optional parameters.

get($tasklist, $task, $optParams = array()   X-Ref
Returns the specified task. (tasks.get)

param: string $tasklist Task list identifier.
param: string $task Task identifier.
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Task

insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array()   X-Ref
Creates a new task on the specified task list. (tasks.insert)

param: string $tasklist Task list identifier.
param: Google_Task $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Task

listTasks($tasklist, $optParams = array()   X-Ref
Returns all tasks in the specified task list. (tasks.listTasks)

param: string $tasklist Task list identifier.
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Tasks

move($tasklist, $task, $optParams = array()   X-Ref
Moves the specified task to another position in the task list. This can
include putting it as a child task under a new parent and/or move it to a
different position among its sibling tasks. (tasks.move)

param: string $tasklist Task list identifier.
param: string $task Task identifier.
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Task

patch($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()   X-Ref
Updates the specified task. This method supports patch semantics.
(tasks.patch)

param: string $tasklist Task list identifier.
param: string $task Task identifier.
param: Google_Task $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Task

update($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()   X-Ref
Updates the specified task. (tasks.update)

param: string $tasklist Task list identifier.
param: string $task Task identifier.
param: Google_Task $postBody
param: array $optParams Optional parameters.
return: Google_Service_Tasks_Task

Class: Google_Service_Tasks_Task  - X-Ref

setCompleted($completed)   X-Ref
No description

getCompleted()   X-Ref
No description

setDeleted($deleted)   X-Ref
No description

getDeleted()   X-Ref
No description

setDue($due)   X-Ref
No description

getDue()   X-Ref
No description

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setHidden($hidden)   X-Ref
No description

getHidden()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLinks($links)   X-Ref
No description

getLinks()   X-Ref
No description

setNotes($notes)   X-Ref
No description

getNotes()   X-Ref
No description

setParent($parent)   X-Ref
No description

getParent()   X-Ref
No description

setPosition($position)   X-Ref
No description

getPosition()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setStatus($status)   X-Ref
No description

getStatus()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

setUpdated($updated)   X-Ref
No description

getUpdated()   X-Ref
No description

Class: Google_Service_Tasks_TaskLinks  - X-Ref

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setLink($link)   X-Ref
No description

getLink()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_Tasks_TaskList  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setSelfLink($selfLink)   X-Ref
No description

getSelfLink()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

setUpdated($updated)   X-Ref
No description

getUpdated()   X-Ref
No description

Class: Google_Service_Tasks_TaskLists  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_Tasks_Tasks  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description