Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Verify.php
1 <?php
2 require_once 'Pman/Roo.php';
3 class Pman_Xtuple_Verify extends Pman_Roo {
4     function getAuth() {
5         if(HTML_FlexyFramework::get()->cli) {
6             return true;
7         }
8         return parent::getAuth();
9     }
10
11
12     function toParams($ar) {
13         $ret = array();
14         foreach($ar as $k=>$v) {
15             $ret[] = urlencode($k).'='.urlencode($v);
16         }
17         return implode('&', $ret);
18     }
19
20     function get() {
21         die("You must define get() in your class extension");
22     }
23 }