Commit bba7f2a0b87b546c3fe3c117dd095bb71e825368

Authored by kevin_fourie
1 parent bcd6d1e3

KTS-2015

"Change license of ktwsapi to BSD licence"
Added back comments.

Committed By: Kevin
Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6690 c91229c3-7414-0410-bfa2-8a42b809f60b
ktwsapi/php/examples/ktws_eg_add_document.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * This is a sample of how to add a document to the repository.
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/examples/ktws_eg_anonymous.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * Demonstrates how to create an anonymous session.
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/examples/ktws_eg_checkin.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * Demonstrates document checkout and checkin
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/examples/ktws_eg_create_folder.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * Demonstrates creating a folder in an active session.
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/examples/ktws_eg_doc_info.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * Demonstrates using an active session and getting document info and metadata.
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/examples/ktws_eg_folder_listing.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * Demonstrates document checkout and checkin
  34 + */
  35 +
32 36 require_once('../ktwsapi.inc.php');
33 37  
34 38 $ktapi = new KTWSAPI(KTWebService_WSDL);
... ...
ktwsapi/php/ktwsapi.inc.php
... ... @@ -29,6 +29,10 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
  32 +/*
  33 + * This is the object model for the KnowledgeTree WebService.
  34 + */
  35 +
32 36 // TODO: add more validation based on information already returned. this can prevent all validation being done server side and minimise a little traffic possibly...
33 37 // TODO: caching so that requests don't have to be returned.
34 38 // TODO: possibly add a subscriber model, where updates can be propogated through to a cache/model on the client side.
... ...
ktwsapi/php/ktwsapi_cfg.inc.php
... ... @@ -29,7 +29,7 @@
29 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30 */
31 31  
32   -/**
  32 +/*
33 33 * This is the basic configuration for the KnowledgeTree WebService object model
34 34 */
35 35  
... ...