Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_baseUri = 'http://simpy.com/simpy/api/rest/'Base URI to which API methods and parameters will be appended
DetailsZend_Http_Client $_http = ''HTTP client for use in making web service calls
Details__construct(
string $username, string $password
)
:
voidConstructs a new Simpy (free) REST API Client
Details_makeRequest(
string $op, array $query
=
null
)
:
DOMDocumentSends a request to the REST API service and does initial processing on the response.
DetailsdeleteLink(
string $href
)
:
Zend_Service_SimpyDeletes a given link.
DetailsdeleteNote(
int $noteId
)
:
Zend_Service_SimpyDeletes a given note.
DetailsgetHttpClient(
)
:
Zend_Http_ClientReturns the HTTP client currently in use by this class for REST API calls, intended mainly for testing.
DetailsgetLinks(
Zend_Service_Simpy_LinkQuery $q
=
null
)
:
Zend_Service_Simpy_LinkSetPerforms a query on existing links and returns the results or returns all links if no particular query is specified (which should be used sparingly to prevent overloading Simpy servers)
DetailsgetNotes(
string $q
=
null, int $limit
=
null
)
:
Zend_Service_Simpy_NoteSetReturns all notes in reverse chronological order by add date or by rank.
DetailsgetTags(
int $limit
=
null
)
:
Zend_Service_Simpy_TagSetReturns a list of all tags and their counts, ordered by count in decreasing order
DetailsgetWatchlist(
int $watchlistId
)
:
Zend_Service_Simpy_WatchlistReturns the meta-data for a given watchlist.
DetailsgetWatchlists(
)
:
Zend_Service_Simpy_WatchlistSetReturn a list of watchlists and their meta-data, including the number of new links added to each watchlist since last login.
DetailsmergeTags(
string $fromTag1, string $fromTag2, string $toTag
)
:
Zend_Service_SimpyMerges two tags into a new tag.
DetailsremoveTag(
string $tag
)
:
Zend_Service_SimpyRemoves a tag.
DetailsrenameTag(
string $fromTag, string $toTag
)
:
Zend_Service_SimpyRenames a tag.
DetailssaveLink(
string $title, string $href, int $accessType, mixed $tags
=
null, string $urlNickname
=
null, string $note
=
null
)
:
Zend_Service_SimpySaves a given link.
DetailssaveNote(
string $title, mixed $tags
=
null, string $description
=
null, int $noteId
=
null
)
:
Zend_Service_SimpySaves a note.
DetailssplitTag(
string $tag, string $toTag1, string $toTag2
)
:
Zend_Service_SimpySplits a single tag into two separate tags.
Details