Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (34 sloc) 1.356 kb
53f43030 »
2011-07-13 first commit
1 //
2 // DrupalPlugin.h
3 //
4 // Copyright 2011 Jeff Linwood.
5 // MIT License
6
7 #import <Foundation/Foundation.h>
8 #import <Foundation/Foundation.h>
9 #ifdef PHONEGAP_FRAMEWORK
10 #import <PhoneGap/PGPlugin.h>
11 #else
12 #import "PGPlugin.h"
13 #endif
14
15 #import "DIOSUser.h"
16 #import "DIOSConnect.h"
17
18
19
20 @interface DrupalPlugin : PGPlugin {
21 DIOSUser *currentUser;
22 DIOSConnect *currentSession;
23
24 }
25
26 @property(nonatomic,retain) DIOSUser *currentUser;
27 @property(nonatomic,retain) DIOSConnect *currentSession;
28
29 //user/system connect methods
30 - (void) openAnonymousSession:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
31 - (void) login:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
32 - (void) logout:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
33
34 //node methods
35 - (void) nodeGet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
56e64827 »
2011-07-20 Added support for saving nodes
36 - (void) nodeSave:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
a958482e »
2011-07-20 Added support for deleting nodes
37 - (void) nodeDelete:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
9bfeb3af »
2011-07-21 Added support for retrieving all nodes
38 - (void) nodeGetIndex:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
53f43030 »
2011-07-13 first commit
39
a0717659 »
2011-11-19 Added file.save for uploading images/videos
40 //file methods
41 - (void) fileSave:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
c623f48a »
2011-07-20 Added support for views
42
43 //view methods
44 - (void) viewGet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
45
53f43030 »
2011-07-13 first commit
46 @end
Something went wrong with that request. Please try again.