Метод | Описание | |
---|---|---|
__construct ( ) | Creates a new part attachment. | |
getPart ( ) : |
Returns the part. | |
isImage ( ) : true | Returns if the attachment is an image or not. | |
setImage ( $image ) | Sets if the attachment is an image. | |
setPart ( |
Sets the part. |
public isImage ( ) : true | ||
Результат | true | if the attachment is an image, false otherwise |
public setPart ( |
||
$part | The part to set |