1 | <?php |
||
32 | class GraphAlbum extends GraphNode |
||
33 | { |
||
34 | /** |
||
35 | * @var array Maps object key names to Graph object types. |
||
36 | */ |
||
37 | protected static $graphObjectMap = [ |
||
38 | 'from' => '\Facebook\GraphNodes\GraphUser', |
||
39 | 'place' => '\Facebook\GraphNodes\GraphPage', |
||
40 | ]; |
||
41 | |||
42 | /** |
||
43 | * Returns the ID for the album. |
||
44 | * |
||
45 | * @return string|null |
||
46 | */ |
||
47 | public function getId() |
||
51 | |||
52 | /** |
||
53 | * Returns whether the viewer can upload photos to this album. |
||
54 | * |
||
55 | * @return boolean|null |
||
56 | */ |
||
57 | public function getCanUpload() |
||
61 | |||
62 | /** |
||
63 | * Returns the number of photos in this album. |
||
64 | * |
||
65 | * @return int|null |
||
66 | */ |
||
67 | public function getCount() |
||
71 | |||
72 | /** |
||
73 | * Returns the ID of the album's cover photo. |
||
74 | * |
||
75 | * @return string|null |
||
76 | */ |
||
77 | public function getCoverPhoto() |
||
81 | |||
82 | /** |
||
83 | * Returns the time the album was initially created. |
||
84 | * |
||
85 | * @return \DateTime|null |
||
86 | */ |
||
87 | public function getCreatedTime() |
||
91 | |||
92 | /** |
||
93 | * Returns the time the album was updated. |
||
94 | * |
||
95 | * @return \DateTime|null |
||
96 | */ |
||
97 | public function getUpdatedTime() |
||
101 | |||
102 | /** |
||
103 | * Returns the description of the album. |
||
104 | * |
||
105 | * @return string|null |
||
106 | */ |
||
107 | public function getDescription() |
||
111 | |||
112 | /** |
||
113 | * Returns profile that created the album. |
||
114 | * |
||
115 | * @return GraphUser|null |
||
116 | */ |
||
117 | public function getFrom() |
||
121 | |||
122 | /** |
||
123 | * Returns profile that created the album. |
||
124 | * |
||
125 | * @return GraphPage|null |
||
126 | */ |
||
127 | public function getPlace() |
||
131 | |||
132 | /** |
||
133 | * Returns a link to this album on Facebook. |
||
134 | * |
||
135 | * @return string|null |
||
136 | */ |
||
137 | public function getLink() |
||
141 | |||
142 | /** |
||
143 | * Returns the textual location of the album. |
||
144 | * |
||
145 | * @return string|null |
||
146 | */ |
||
147 | public function getLocation() |
||
151 | |||
152 | /** |
||
153 | * Returns the title of the album. |
||
154 | * |
||
155 | * @return string|null |
||
156 | */ |
||
157 | public function getName() |
||
161 | |||
162 | /** |
||
163 | * Returns the privacy settings for the album. |
||
164 | * |
||
165 | * @return string|null |
||
166 | */ |
||
167 | public function getPrivacy() |
||
171 | |||
172 | /** |
||
173 | * Returns the type of the album. |
||
174 | * |
||
175 | * enum{ profile, mobile, wall, normal, album } |
||
176 | * |
||
177 | * @return string|null |
||
178 | */ |
||
179 | public function getType() |
||
183 | } |
||
184 |