Follow-on to 1e4d75c120 for #1975.

Create a siblings() function which pulls together the siblings_callback
function and makes it a more palatable API.
This commit is contained in:
Bharat Mediratta
2013-01-30 19:32:35 -05:00
parent ee0a0d7bf7
commit 49dd0994df
+4
View File
@@ -86,6 +86,10 @@ class Theme_View_Core extends Gallery_View {
return $this->item;
}
public function siblings() {
return call_user_func_array($this->siblings_callback[0], $this->siblings_callback[1]);
}
public function tag() {
return $this->tag;
}