PHP Classes

File: docs/task.rst

Recommend this page to a friend!
  Classes of Italo Lelis de Vietro  >  PHP Wunderlist API  >  docs/task.rst  >  Download  
File: docs/task.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Wunderlist API
Manage user lists using the Wunderlist API
Author: By
Last change: Added many new features
Date: 7 years ago
Size: 539 bytes


Class file image Download

Provides specifics methods for easy access to tasks data.

Get today tasks

.. code-block:: php

    $todayTasks = $wunderlist->getService(Task::class)->today();

Get overdue tasks

.. code-block:: php

    $overdueTasks = $wunderlist->getService(Task::class)->overdue();

Get all tasks with its subtasks

.. code-block:: php

    $tasks = $wunderlist->getService(Task::class)->allWithSubtasks();

Filter tasks by date

.. code-block:: php

    $tasks = $wunderlist->getService(Task::class)->filterByDate(Carbon::now());
For more information send a message to info at phpclasses dot org.