summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Search.php
diff options
context:
space:
mode:
authorSimon2011-04-29 10:18:39 +0200
committerSimon2011-04-29 10:18:39 +0200
commitb87c06378211d1f6b01793148617bbf7861a2c4f (patch)
tree1f32de7872b505d1dce1fce53be3039e4cc76521 /library/Pbs/Search.php
parentfreeclients werden direkt mit sql gesucht (diff)
downloadpbs2-b87c06378211d1f6b01793148617bbf7861a2c4f.tar.gz
pbs2-b87c06378211d1f6b01793148617bbf7861a2c4f.tar.xz
pbs2-b87c06378211d1f6b01793148617bbf7861a2c4f.zip
Paar Mapper angepasst
Diffstat (limited to 'library/Pbs/Search.php')
-rw-r--r--library/Pbs/Search.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/Pbs/Search.php b/library/Pbs/Search.php
index 420ef7c..587b656 100644
--- a/library/Pbs/Search.php
+++ b/library/Pbs/Search.php
@@ -84,9 +84,11 @@ class Pbs_Search{
}
public function setModule($m){
$this->module = $m;
+ return $this;
}
public function setType($t){
$this->type = $t;
+ return $this;
}
public function setSearchTerm($search){
$this->searchTerm = trim($search);
@@ -117,7 +119,7 @@ class Pbs_Search{
}
$this->searcha = @$searcha;
$this->searchb = @$searchb;
- #print_a($searcha, $searchb);
+ return $this;
}
public function getSearchTerm(){
return $this->searchTerm;