page() public static method

Tracks a page view
public static page ( array $message ) : boolean
$message array
return boolean whether the page call succeeded
Ejemplo n.º 1
0
 function testEmptyArrayProperties()
 {
     $this->assertTrue(Segment::track(array("userId" => "user-id", "event" => "empty-properties", "properties" => array())));
     $this->assertTrue(Segment::page(array("category" => "empty-properties", "name" => "empty-properties", "userId" => "user-id", "properties" => array())));
 }