3 function qb_autoload($className) {
4 $path = drupal_get_path('module', 'qb');
5 $fileName = $path .'/'. $className .'.class.php';
6 if (file_exists($fileName)) {
10 spl_autoload_register("qb_autoload");
12 function qb_select($alias = '*', $fields = array()) {
13 $query = new DrupalQBuilder;
14 $query->select($alias, $fields);
19 return new QBuilderCondition('OR');