Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added related ocntent query

  • Loading branch information...
commit ba0ab915529d64aec5fe1ffecbf7a28923aaec61 1 parent 81940dc
@katzgrau katzgrau authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 vendor/Axilent.php
View
6 vendor/Axilent.php
@@ -123,9 +123,13 @@ public function getPortletURL($content_key = '')
* Get and array of relevant content
* @param type $content_key
*/
- public function getRelevantContent($content_key)
+ public function getRelevantContent($policy_slug, $content_key = false)
{
+ $args = array('content_policy_slug' => $policy_slug);
+ if($content_key) $args['basekey'] = $content_key;
+
+ $result = $this->_makeRequest('get', 'axilent.content', 'policycontent', $args);
}
Please sign in to comment.
Something went wrong with that request. Please try again.