Example #1
0
 /**
  * @expectedException UndefinedEndpointException
  */
 public function testUndefinedSecondLevel()
 {
     $sections = CleverSection::all(array('limit' => 1));
     $section = $sections[0];
     $objs = $section->eventz();
 }
Example #2
0
 public static function init()
 {
     self::$secondLevelEndpoints = array('school' => array(), 'district' => array(), 'students' => array(), 'teacher' => array(), 'events' => array());
 }