메소드 | 설명 | |
---|---|---|
addContent ( string | resource $content, string $mime_type = 'text/plain', array $params = [] ) : Horde_Push | Add content to this element. | |
addRecipient ( Horde_Push_Recipient $recipient ) : Horde_Push | Add a recipient for this element. | |
addReference ( string $reference ) : Horde_Push | Add a URL reference for this element. | |
addTag ( string $tag ) : Horde_Push | Add a tag for this element. | |
getContent ( ) : array | Return the contents for this element. | |
getMimeTypes ( ) : array | Return the contents by MIME type for this element. | |
getReferences ( ) : array | Retrieve the URL references for this element. | |
getStringContent ( integer $index ) : string | Return the content at the given index as a string. | |
getSummary ( ) : string | Return the summary for this content element. | |
getTags ( ) : array | Retrieve the tags for this element. | |
hasReferences ( ) : boolean | Indicate if this element has URL references. | |
hasTags ( ) : boolean | Indicate if this element has tags. | |
push ( array $options = [] ) : Horde_Push | Push the content to the recipients. | |
setSummary ( string $summary ) : Horde_Push | Set the summary for this content element. |
public addRecipient ( Horde_Push_Recipient $recipient ) : Horde_Push | ||
$recipient | Horde_Push_Recipient | The recipient. |
리턴 | Horde_Push | This content element. |
public addReference ( string $reference ) : Horde_Push | ||
$reference | string | The link. |
리턴 | Horde_Push | This content element. |
public getContent ( ) : array | ||
리턴 | array | The content list. |
public getMimeTypes ( ) : array | ||
리턴 | array | The content list ordered by MIME type. |
public getReferences ( ) : array | ||
리턴 | array | The URL references. |
public getStringContent ( integer $index ) : string | ||
$index | integer | Index of the content part. |
리턴 | string | The content. |
public getSummary ( ) : string | ||
리턴 | string | The summary. |
public hasReferences ( ) : boolean | ||
리턴 | boolean | True, if there have been links added to the element. |
public setSummary ( string $summary ) : Horde_Push | ||
$summary | string | The summary. |
리턴 | Horde_Push | This content element. |