Méthode | Description | |
---|---|---|
AttachFileToNode ( string fileFieldName, int fid, int fileIndex, CookComputing.XmlRpc.XmlRpcStruct node ) : bool |
Add an already upload file to cck file field, without saving the node
|
|
AttachFileToNode ( string fileFieldName, int fid, int fileIndex, int nid ) : bool |
Add an already upload file to cck file field, also saving node
|
|
FileGet ( int fid ) : CookComputing.XmlRpc.XmlRpcStruct |
Get file structure information
|
|
FileSave ( string filePath, string serverPath ) : string |
Save file structure
|
|
FileUpload ( string filePath, string fieldName, int fileIndex, int nodeID ) : bool | ||
FileUpload ( string filePath, string fieldName, int fileIndex, int nodeID, string serverDirectory ) : bool |
Upload and attach a file to an existing NODE.
|
|
Login ( string user, string password ) : bool | ||
Login ( string user, string password, string debugURL ) : bool | ||
Logout ( ) : bool | ||
NodeGet ( int nid ) : CookComputing.XmlRpc.XmlRpcStruct |
Return node structure
|
|
NodeGet ( int nid, string fields ) : XmlRpcStruct | ||
NodeSave ( XmlRpcStruct node ) : int | ||
OGgetVocab ( int ogID ) : XmlRpcStruct | ||
ParseField ( Enum fieldName, XmlRpcStruct nodeStruct ) : string | ||
ParseField ( Enum fieldName, XmlRpcStruct nodeStruct, int arrayIndex ) : string | ||
ParseField ( string fieldName, XmlRpcStruct nodeStruct ) : string | ||
ParseFieldArray ( Enum arrayfieldName, Enum fieldName, XmlRpcStruct parentStruct ) : string | ||
ReLogin ( ) : bool | ||
Services ( ServicesSettings settings ) : System |
Single Tone constructor
|
|
TaxonomyGetTree ( int vid ) : XmlRpcStruct[] | ||
UserGet ( ) : XmlRpcStruct |
Get logged in user information
|
|
UserGet ( int nid ) : XmlRpcStruct | ||
ViewsGet ( string viewName, int limit ) : XmlRpcStruct[] | ||
ViewsGet ( string viewName, int limit, object args ) : XmlRpcStruct[] | ||
ViewsGet ( string viewName, string args ) : XmlRpcStruct[] |
Méthode | Description | |
---|---|---|
GetHMAC ( string message, string key ) : string | ||
GetNonce ( int length ) : string | ||
GetUnixTimestamp ( ) : string | ||
buildFileStruct ( string filePath, string serverPath ) : XmlRpcStruct |
Create a drupal file structure
|
|
errorMessage ( string msg ) : void | ||
handleExeption ( Exception ex ) : XmlRpcStruct | ||
handleExeption ( Exception ex, string functionName ) : XmlRpcStruct | ||
handleExeptionStr ( Exception ex, string functionName ) : string |
public AttachFileToNode ( string fileFieldName, int fid, int fileIndex, CookComputing.XmlRpc.XmlRpcStruct node ) : bool | ||
fileFieldName | string | CCK field name |
fid | int | File ID to attach |
fileIndex | int | file index in case of multiple file field, for single file use 0 |
node | CookComputing.XmlRpc.XmlRpcStruct | Node to attach file to (alresdy load with node load) |
Résultat | bool |
public AttachFileToNode ( string fileFieldName, int fid, int fileIndex, int nid ) : bool | ||
fileFieldName | string | CCK field name |
fid | int | File ID to attach |
fileIndex | int | file index in case of multiple file field, for single file use 0 |
nid | int | |
Résultat | bool |
public FileGet ( int fid ) : CookComputing.XmlRpc.XmlRpcStruct | ||
fid | int | file id |
Résultat | CookComputing.XmlRpc.XmlRpcStruct |
public FileSave ( string filePath, string serverPath ) : string | ||
filePath | string | |
serverPath | string | |
Résultat | string |
public FileUpload ( string filePath, string fieldName, int fileIndex, int nodeID ) : bool | ||
filePath | string | |
fieldName | string | |
fileIndex | int | |
nodeID | int | |
Résultat | bool |
public FileUpload ( string filePath, string fieldName, int fileIndex, int nodeID, string serverDirectory ) : bool | ||
filePath | string | Local path to file |
fieldName | string | CCK field name of the file field in the node |
fileIndex | int | file index in case of multiple file field, for single file use 0 |
nodeID | int | Node ID to attache file to |
serverDirectory | string | Server directory path e.g: sites/default/files/ |
Résultat | bool |
public Login ( string user, string password ) : bool | ||
user | string | |
password | string | |
Résultat | bool |
public Login ( string user, string password, string debugURL ) : bool | ||
user | string | |
password | string | |
debugURL | string | |
Résultat | bool |
public NodeGet ( int nid ) : CookComputing.XmlRpc.XmlRpcStruct | ||
nid | int | Node ID |
Résultat | CookComputing.XmlRpc.XmlRpcStruct |
public NodeGet ( int nid, string fields ) : XmlRpcStruct | ||
nid | int | |
fields | string | |
Résultat | XmlRpcStruct |
public NodeSave ( XmlRpcStruct node ) : int | ||
node | XmlRpcStruct | |
Résultat | int |
public OGgetVocab ( int ogID ) : XmlRpcStruct | ||
ogID | int | |
Résultat | XmlRpcStruct |
public ParseField ( Enum fieldName, XmlRpcStruct nodeStruct ) : string | ||
fieldName | Enum | |
nodeStruct | XmlRpcStruct | |
Résultat | string |
public ParseField ( Enum fieldName, XmlRpcStruct nodeStruct, int arrayIndex ) : string | ||
fieldName | Enum | |
nodeStruct | XmlRpcStruct | |
arrayIndex | int | |
Résultat | string |
public ParseField ( string fieldName, XmlRpcStruct nodeStruct ) : string | ||
fieldName | string | |
nodeStruct | XmlRpcStruct | |
Résultat | string |
public ParseFieldArray ( Enum arrayfieldName, Enum fieldName, XmlRpcStruct parentStruct ) : string | ||
arrayfieldName | Enum | |
fieldName | Enum | |
parentStruct | XmlRpcStruct | |
Résultat | string |
public Services ( ServicesSettings settings ) : System | ||
settings | ServicesSettings | |
Résultat | System |
public TaxonomyGetTree ( int vid ) : XmlRpcStruct[] | ||
vid | int | |
Résultat | XmlRpcStruct[] |
public ViewsGet ( string viewName, int limit ) : XmlRpcStruct[] | ||
viewName | string | |
limit | int | |
Résultat | XmlRpcStruct[] |
public ViewsGet ( string viewName, int limit, object args ) : XmlRpcStruct[] | ||
viewName | string | |
limit | int | |
args | object | |
Résultat | XmlRpcStruct[] |
public ViewsGet ( string viewName, string args ) : XmlRpcStruct[] | ||
viewName | string | |
args | string | |
Résultat | XmlRpcStruct[] |