Property | Type | Description | |
---|---|---|---|
$advancedClient | Evernote\AdvancedClient | ||
$businessAuth | EDAM\UserStore\AuthenticationResult | ||
$businessNoteStore | EDAM\NoteStore\NoteStoreClient | ||
$businessToken | string | ||
$china | boolean | ||
$isBusinessUser | |||
$logger | Psr\Log\LoggerInterface | ||
$sandbox | boolean | ||
$token | string | ||
$userNoteStore | EDAM\NoteStore\NoteStoreClient |
Method | Description | |
---|---|---|
__construct ( string | null $token = null, boolean $sandbox = true, Evernote\AdvancedClient | null $advancedClient = null, Psr\Log\LoggerInterface $logger = null, boolean $china = false ) | ||
deleteNote ( Evernote\Model\Note $note ) : boolean | Deletes a note | |
findNotesWithSearch ( $noteSearch, Evernote\Model\Notebook $notebook = null, integer $scope, integer $sortOrder, integer $maxResults = 20 ) : array | boolean | Searches for notes | |
getAdvancedClient ( ) : Evernote\AdvancedClient | Returns the advancedClient | |
getBusinessLinkedNotebooks ( ) : array | Returns the list of notebooks shared to the user through the business account | |
getBusinessNoteStore ( ) : EDAM\NoteStore\NoteStoreClient | mixed | Returns the business notestore | |
getBusinessSharedNotebooks ( ) : null | Returns the list of notebooks shared by the user with her business account | |
getBusinessToken ( ) : string | Returns the token used to access the business notestore | |
getChina ( ) : boolean | Gets the current china flag | |
getNote ( $guid, null $scope = null ) : Evernote\Model\Note | null | Retrieves an existing note | |
getNotebook ( $notebook_guid, null $scope = null ) : Evernote\Model\Notebook | null | Retrieves a notebook | |
getSandbox ( ) : boolean | Gets the current sandbox flag | |
getToken ( ) : string | Returns the current authentication token | |
getUserNotestore ( ) : EDAM\NoteStore\NoteStoreClient | mixed | Returns the personal notestore of the user | |
isAppNotebookToken ( $token ) : boolean | Checks if the token is an "app notebook" one | |
isBusinessUser ( ) : boolean | Returns a boolean indicating if the user has a business account | |
listLinkedNotebooks ( ) : array | Returns the list of notebooks shared to the user | |
listNotebooks ( ) : array | Returns the list of notebooks | |
listPersonalNotebooks ( ) : array | Returns the list of personal notebooks | |
listSharedNotebooks ( ) : array | Returns the list of notebooks shared by the user | |
moveNote ( Evernote\Model\Note $note, Evernote\Model\Notebook $notebook ) : Evernote\Model\Note | Moves a note to another notebook | |
replaceNote ( Evernote\Model\Note $noteToReplace, Evernote\Model\Note $note ) : Evernote\Model\Note | Replaces an existing note by another one (new or existing) | |
setAdvancedClient ( Evernote\AdvancedClient $advancedClient ) | Sets the advancedClient | |
setChina ( boolean $china ) | Sets the china flag to true or false | |
setSandbox ( boolean $sandbox ) | Sets the sandbox flag to true or false | |
setToken ( string $token ) | Sets the authentication token | |
shareNote ( Evernote\Model\Note $note ) : null | string | Shares a note and returns the share url | |
uploadNote ( Evernote\Model\Note $note, Evernote\Model\Notebook $notebook = null ) : Evernote\Model\Note | Sends a new Note to the API |
Method | Description | |
---|---|---|
compareByCreated ( $obj1, $obj2 ) | ||
compareByTitle ( $obj1, $obj2 ) | ||
compareByUpdated ( $obj1, $obj2 ) | ||
findNotes_findInBusinessScopeWithContext ( $context ) | ||
findNotes_findInLinkedScopeWithContext ( $context ) | ||
findNotes_findInPersonalScopeWithContext ( $context ) | ||
findNotes_listNotebooksWithContext ( $context ) | ||
findNotes_nextFindInLinkedScopeWithContext ( $context ) | ||
findNotes_processResultsWithContext ( $context ) | ||
getBusinessAuth ( ) : EDAM\UserStore\AuthenticationResult | ||
getNoteBookByLinkedNotebook ( EDAM\Types\LinkedNotebook $linkedNotebook ) | ||
getNoteInstance ( EDAM\Types\Note $edamNote = null, $noteStore = null, $token = null ) | ||
getNoteStore ( $noteStoreUrl ) | ************************ | |
getShardIdFromToken ( $token ) | ||
getShareUrl ( $guid, $shardId, $shareKey, $serviceHost ) | ||
getSharedNotebookAuthResult ( EDAM\Types\LinkedNotebook $linkedNotebook ) | ||
isFlagSet ( $flags, $flag ) |
public __construct ( string | null $token = null, boolean $sandbox = true, Evernote\AdvancedClient | null $advancedClient = null, Psr\Log\LoggerInterface $logger = null, boolean $china = false ) | ||
$token | string | null | |
$sandbox | boolean | |
$advancedClient | Evernote\AdvancedClient | null | |
$logger | Psr\Log\LoggerInterface | |
$china | boolean |
public deleteNote ( Evernote\Model\Note $note ) : boolean | ||
$note | Evernote\Model\Note | |
return | boolean |
protected findNotes_findInBusinessScopeWithContext ( $context ) |
protected findNotes_findInLinkedScopeWithContext ( $context ) |
protected findNotes_findInPersonalScopeWithContext ( $context ) |
protected findNotes_listNotebooksWithContext ( $context ) |
protected findNotes_nextFindInLinkedScopeWithContext ( $context ) |
protected findNotes_processResultsWithContext ( $context ) |
public getAdvancedClient ( ) : Evernote\AdvancedClient | ||
return | Evernote\AdvancedClient |
protected getBusinessAuth ( ) : EDAM\UserStore\AuthenticationResult | ||
return | EDAM\UserStore\AuthenticationResult |
public getBusinessLinkedNotebooks ( ) : array | ||
return | array |
public getBusinessNoteStore ( ) : EDAM\NoteStore\NoteStoreClient | mixed | ||
return | EDAM\NoteStore\NoteStoreClient | mixed |
public getBusinessToken ( ) : string | ||
return | string |
protected getNoteBookByLinkedNotebook ( EDAM\Types\LinkedNotebook $linkedNotebook ) | ||
$linkedNotebook | EDAM\Types\LinkedNotebook |
protected getNoteInstance ( EDAM\Types\Note $edamNote = null, $noteStore = null, $token = null ) | ||
$edamNote | EDAM\Types\Note |
public getNotebook ( $notebook_guid, null $scope = null ) : Evernote\Model\Notebook | null | ||
$notebook_guid | ||
$scope | null | |
return | Evernote\Model\Notebook | null |
public getSandbox ( ) : boolean | ||
return | boolean |
public getUserNotestore ( ) : EDAM\NoteStore\NoteStoreClient | mixed | ||
return | EDAM\NoteStore\NoteStoreClient | mixed |
public isAppNotebookToken ( $token ) : boolean | ||
$token | ||
return | boolean |
public isBusinessUser ( ) : boolean | ||
return | boolean |
public listLinkedNotebooks ( ) : array | ||
return | array |
public listNotebooks ( ) : array | ||
return | array |
public listPersonalNotebooks ( ) : array | ||
return | array |
public moveNote ( Evernote\Model\Note $note, Evernote\Model\Notebook $notebook ) : Evernote\Model\Note | ||
$note | Evernote\Model\Note | |
$notebook | Evernote\Model\Notebook | |
return | Evernote\Model\Note |
public replaceNote ( Evernote\Model\Note $noteToReplace, Evernote\Model\Note $note ) : Evernote\Model\Note | ||
$noteToReplace | Evernote\Model\Note | |
$note | Evernote\Model\Note | |
return | Evernote\Model\Note |
public setAdvancedClient ( Evernote\AdvancedClient $advancedClient ) | ||
$advancedClient | Evernote\AdvancedClient |
public setSandbox ( boolean $sandbox ) | ||
$sandbox | boolean |
public uploadNote ( Evernote\Model\Note $note, Evernote\Model\Notebook $notebook = null ) : Evernote\Model\Note | ||
$note | Evernote\Model\Note | |
$notebook | Evernote\Model\Notebook | |
return | Evernote\Model\Note |
protected AdvancedClient,Evernote $advancedClient | ||
return | Evernote\AdvancedClient |
protected AuthenticationResult,EDAM\UserStore $businessAuth | ||
return | EDAM\UserStore\AuthenticationResult |
protected NoteStoreClient,EDAM\NoteStore $businessNoteStore | ||
return | EDAM\NoteStore\NoteStoreClient |