/** * Attribute getter method * * @return the actionURL of the component */ function get_actionURL_attr() { $url = ''; if ($this->data[0]['plugin'] == 'bypost') { $url = wiziapp_buildPostImagesGalleryLink($this->data[0]['content_id']); } else { $url = wiziapp_buildPluginAlbumLink($this->data[0]['plugin'], $this->data[0]['id']); } return $url; }
/** * Attribute getter method * * @return the actionURL of the component */ function get_actionURL_attr() { return wiziapp_buildPluginAlbumLink($this->data[0]['plugin'], $this->data[0]['id']); }