Skip to content

Commit

Permalink
Added related ocntent query
Browse files Browse the repository at this point in the history
  • Loading branch information
katzgrau committed Mar 15, 2012
1 parent 81940dc commit ba0ab91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vendor/Axilent.php
Expand Up @@ -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);
}


Expand Down

0 comments on commit ba0ab91

Please sign in to comment.