fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12356] class.boadmin_location.inc


From: Saul
Subject: [Fmsystem-commits] [12356] class.boadmin_location.inc
Date: Fri, 21 Nov 2014 21:56:56 +0000

Revision: 12356
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12356
Author:   psaul
Date:     2014-11-21 21:56:55 +0000 (Fri, 21 Nov 2014)
Log Message:
-----------
class.boadmin_location.inc

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.boadmin_location.inc.php

Modified: branches/dev-syncromind/property/inc/class.boadmin_location.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boadmin_location.inc.php 
2014-11-21 21:56:14 UTC (rev 12355)
+++ branches/dev-syncromind/property/inc/class.boadmin_location.inc.php 
2014-11-21 21:56:55 UTC (rev 12356)
@@ -268,7 +268,27 @@
                        }
                }
 
-               function read_attrib( $type_id, $allrows = '' )
+               function read_attrib($data = array())
+               {   
+                       if ( $data['allrows'] || phpgw::get_var( 'allrows' ) == 
1 )
+                       {
+                               $data['allrows'] = true;
+                       }
+
+                       $attrib = $this->custom->find( 
+                                                        'property', 
+                                                        '.location.' . 
$data['type_id'],
+                                                       $data['start'], 
+                                                        $data['query'], 
+                                                        $data['sort'], 
+                                                        $data['order'], 
+                                                        $data['allrows'] 
+                                                    );
+                       $this->total_records = $this->custom->total_records;
+
+                       return $attrib;
+               }
+                function read_attrib_old( $type_id, $allrows = '' )
                {
                        if ( $allrows || phpgw::get_var( 'allrows' ) == 1 )
                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]