Difference between revisions of "Php SDK Changelog"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== SDK FOR PHP 2.0.2 ==
 
== SDK FOR PHP 2.0.2 ==
* Remove two contants in class Node
+
* Removed two contants in class Node
 
  const DOCUMENT = 1;
 
  const DOCUMENT = 1;
 
  const FOLDER = 2;
 
  const FOLDER = 2;
* Remove var $type into class Node to indentify node type ( document or folder )
+
* Removed var $type into class Node to indentify node type ( document or folder )
* Solve bug in search to identify with instanceof the node is document or folder  
+
* Solve bug in search to identify with instanceof the node type (document or folder )
  
 
== SDK FOR PHP 2.0.1 ==
 
== SDK FOR PHP 2.0.1 ==

Revision as of 08:19, 2 July 2014

SDK FOR PHP 2.0.2

  • Removed two contants in class Node
const DOCUMENT = 1;
const FOLDER = 2;
  • Removed var $type into class Node to indentify node type ( document or folder )
  • Solve bug in search to identify with instanceof the node type (document or folder )

SDK FOR PHP 2.0.1

  • Added two contants in class Node
const DOCUMENT = 1;
const FOLDER = 2;
  • Added var $type into class Node to indentify node type ( document or folder )
  • Solve bug in search to identify node document or folder
  • Solve bug in search with empty categories and keywords

SDK FOR PHP 2.0

  • Added method in PropertyGroup
public function getPropertyGroupForm($grpName);
  • Added methods in Auth
public void createUser($user, $password, $email, $name, $active);
public void deleteUser($user);
public void updateUser($user, $password, $email, $name, $active);
public void createRole($role, $active);
public void deleteRole($role);
public void updateRole($role, $active);
public void assignRole($user, $role);
public void removeRole($user, $role);
  • Added methods in Document
public function setLanguage($docId, $lang);
public function setTitle($docId, $title);
public function setDocumentNodeClass($docId, $ncId);
public Function getDetectedLanguages();
  • Changes in class Document
added variable String title
added variable String language
  • Changes in class Folder
added variable long style;
  • Changes in class QueryParams

Variable folder replaces removed variable path to indicate folder from where starting searching. Variable folderRecursive indicates if search must be done in folder path and subfolders.

added variable String folder
added variable boolean folderRecursive
added variable String title
added variable String language
added variable String notes
removed instance variable String path
  • Changes in class QueryResult
added variable Node node
added variable boolean attachment
removed variable Document document
removed variable Folder folder
  • Changes in class Node
added variable long nodeClass

SDK FOR PHP 1.0.1

  • Solve bug in search with empty categories and keywords