Created
March 5, 2013 10:32
-
-
Save halfdan/5089362 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Piwik_DAS_API { | |
static private $instance = null; | |
/** | |
* @return Piwik_Actions_API | |
*/ | |
static public function getInstance() | |
{ | |
if (self::$instance == null) | |
{ | |
self::$instance = new self; | |
} | |
return self::$instance; | |
} | |
public function getPageUrls( $idSite, $period, $date, $segment = false, $expanded = false, $idSubtable = false ) { | |
$segment = "pageUrl=@DAS"; | |
$dataTable = Piwik_Actions_API::getInstance()->getPageUrls($idSite, $period, $date, $segment, $expanded, $idSubTable); | |
return $dataTable | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment