示例#1
0
 protected function find_tests()
 {
     return WpTesting_Query_Test::create()->findAllByPassingRespondent($this->wp->getCurrentUserId(), array('Test.post_title'));
 }
 public function getList()
 {
     $tests = WpTesting_Query_Test::create()->findAllPublished();
     return $this->render('Shortcode/list', array('tests' => $tests, 'wp' => $this->wp));
 }
示例#3
0
 protected function find_tests()
 {
     return WpTesting_Query_Test::create()->findAllPublished(array('post_title' => 'ASC'));
 }