Méthode | Description | |
---|---|---|
__construct ( |
Construct a new Caption Helper | |
exists ( string $imagePath ) : boolean | Checks if a caption file exitst for the image passed | |
saveForImage ( string $imagePath, $text ) : string | Saves the text file using the image path, and text passed | |
text ( string $imagePath ) : string | Finds the caption text for an image |
public __construct ( |
||
$MediaPaths | ||
$Framework | ||
Résultat | void |
public saveForImage ( string $imagePath, $text ) : string | ||
$imagePath | string | |
Résultat | string | $text |