
The Gallery methods allow you to get data and imagery based on the Gallery it belongs to.
Return a list of all galleries along with their member albums. The content of the member albums is not returned. If you need to content, you should perform album->get while looping through the galleries albums.
<?php
include('classes/DirectorPHP.php');
$director = new Director('your-api-key', 'your-api-path');
$galleries = $director->gallery->all();
foreach($galleries as $gallery) {
echo $gallery->name . '<br />';
}
?>
Returns a single gallery along with its member albums and content.
<?php
include('classes/DirectorPHP.php');
$director = new Director('your-api-key', 'your-api-path');
$gallery = $director->gallery->get(1);
echo $gallery->name;
?>

