[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12577] class.boresponsible.inc
From: |
Saul |
Subject: |
[Fmsystem-commits] [12577] class.boresponsible.inc |
Date: |
Fri, 09 Jan 2015 23:35:48 +0000 |
Revision: 12577
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12577
Author: psaul
Date: 2015-01-09 23:35:48 +0000 (Fri, 09 Jan 2015)
Log Message:
-----------
class.boresponsible.inc
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.boresponsible.inc.php
Modified: branches/dev-syncromind/property/inc/class.boresponsible.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boresponsible.inc.php
2015-01-09 23:35:28 UTC (rev 12576)
+++ branches/dev-syncromind/property/inc/class.boresponsible.inc.php
2015-01-09 23:35:48 UTC (rev 12577)
@@ -162,8 +162,14 @@
* @return array of types
*/
- public function read_type()
+ public function read_type($data = array())
{
+ //$data = array()
+
+ #$values = array('start' => $this->start, 'query' =>
$this->query, 'sort' => $this->sort,
+ #'order' => $this->order, 'appname' =>
$this->appname,'location' => $this->location, 'allrows'=>$this->allrows,
+ #'filter' => $filter);
+
$categories = $this->cats->return_array('', 0, false);
$filter = array();
if($categories)
@@ -177,10 +183,15 @@
{
$filter[] = 0;
}
+
+ array_unshift($data['filter'],$filter);
- $values = $this->so->read_type(array('start' =>
$this->start, 'query' => $this->query, 'sort' => $this->sort,
- 'order' => $this->order, 'appname' =>
$this->appname,'location' => $this->location, 'allrows'=>$this->allrows,
- 'filter' => $filter));
+
+ #$values = $this->so->read_type(array('start' =>
$this->start, 'query' => $this->query, 'sort' => $this->sort,
+ # 'order' => $this->order, 'appname' =>
$this->appname,'location' => $this->location, 'allrows'=>$this->allrows,
+ # 'filter' => $filter));
+
+ $values = $this->so->read_type($data);
$this->total_records = $this->so->total_records;
foreach($values as & $value)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12577] class.boresponsible.inc,
Saul <=