dmBridge PHP API
DMXMLRepresentationTransformerV1 Class Reference
Inheritance diagram for DMXMLRepresentationTransformerV1:

Public Member Functions

Protected Attributes


Detailed Description


Member Function Documentation

DMXMLRepresentationTransformerV1::nullResponse ( )
Returns:
XML-encoded string

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 25 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformCollection ( DMCollection col)
Parameters:
DMCollectioncol
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 36 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformCollections ( array $  collections)
Parameters:
arraycollections Indexed array of DMCollection objects
Returns:
XML-encoded string
Since:
0.4

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 94 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformComment ( DMComment comment)
Parameters:
DMCommentcomment
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 127 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformComments ( array $  comments,
page,
rpp,
total 
)
Parameters:
arraycomments
intpage
intrpp Comments per page
inttotal
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 171 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformException ( Exception $  ex)
Parameters:
Exceptionex
Returns:
XML-encoded string
Since:
0.4

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 195 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformObject ( DMObject obj)
Parameters:
DMObjectobj
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 225 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformObjectComments ( DMObject obj,
page,
rpp 
)
Parameters:
DMObjectobj
intpage
intrpp Results per page
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 389 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformObjectRating ( DMObject obj)
Parameters:
DMObjectobj
Returns:
XML-encoded string
Since:
0.4

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 436 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformObjectTags ( DMObject obj)
Parameters:
DMObjectobj
Returns:
XML-encoded string
Since:
0.4

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 460 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformRatings ( DMObjectQuery q)
Parameters:
DMObjectQueryq
Returns:
XML-encoded string
Since:
1.0

Definition at line 494 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformResults ( DMObjectQuery q)
Parameters:
DMObjectQueryq
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 523 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformStatus ( )
Returns:
XML-encoded string
Since:
0.5

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 572 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformTag ( DMTag tag)
Parameters:
DMTagtag
Returns:
XML-encoded string
Since:
0.4

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 625 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformTagCounts ( array $  tags,
page,
rpp,
total 
)
Parameters:
arraytags
intpage
intrpp Results per page
inttotal
Returns:
XML-encoded string
Since:
0.3

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 652 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformVocabularyFrequencies ( array $  freqs)
Parameters:
arrayfreqs Associative array in value => count format
Returns:
string XML-encoded string

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 674 of file DMXMLRepresentationTransformerV1.php.

DMXMLRepresentationTransformerV1::transformVocabularySuggestions ( array $  words)
Parameters:
arraywords Indexed array of strings
Returns:
string XML-encoded string

Implements DMHTTPAPIRepresentationTransformer.

Definition at line 691 of file DMXMLRepresentationTransformerV1.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables