File: docs/list.rst

Recommend this page to a friend!
  Classes of Italo Lelis de Vietro  >  PHP Wunderlist API  >  docs/list.rst  >  Download  
File: docs/list.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: 5 years ago
Size: 455 bytes
 

Contents

Class file image Download
=====
Lists
=====

Provides specifics methods for easy access to list data.

Get all accepted lists

.. code-block:: php

    $acceptedLists = $wunderlist->getService(WList::class)->accepted();

Make a list public

.. code-block:: php

    $list = $wunderlist->find(WList::class, 777);
    $listsService->makePublic($list);

Make a list private

.. code-block:: php

    $list = $wunderlist->find(WList::class, 777);
    $listsService->makePrivate($list);

For more information send a message to info at phpclasses dot org.