fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12619] class.bogallery.inc


From: Saul
Subject: [Fmsystem-commits] [12619] class.bogallery.inc
Date: Fri, 16 Jan 2015 23:33:49 +0000

Revision: 12619
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12619
Author:   psaul
Date:     2015-01-16 23:33:48 +0000 (Fri, 16 Jan 2015)
Log Message:
-----------
class.bogallery.inc

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

Modified: branches/dev-syncromind/property/inc/class.bogallery.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.bogallery.inc.php        
2015-01-16 23:33:24 UTC (rev 12618)
+++ branches/dev-syncromind/property/inc/class.bogallery.inc.php        
2015-01-16 23:33:48 UTC (rev 12619)
@@ -116,17 +116,24 @@
                        $this->user_id          = $data['user_id'];
                }
 
-               public function read($dry_run='')
-               {
-                       $start_date     = 
phpgwapi_datetime::date_to_timestamp($this->start_date);
-                       $end_date       = 
phpgwapi_datetime::date_to_timestamp($this->end_date);
+               public function read($data = array())
+               {            
+            //$dry_run=''
+            //$data = array()
+                       //$start_date   = 
phpgwapi_datetime::date_to_timestamp($this->start_date);
+                       //$end_date     = 
phpgwapi_datetime::date_to_timestamp($this->end_date);
 
-                       $valid_locations = $this->get_gallery_location();
-                       $values = $this->so->read(array('start' => 
$this->start,'query' => $this->query,'sort' => $this->sort,'order' => 
$this->order,
-                               'allrows'=>$this->allrows, 'location_id' => 
$this->location_id, 'user_id' => $this->user_id,
-                               'mime_type' => $this->mime_type, 'start_date' 
=> $start_date, 'end_date' => $end_date,
-                               'cat_id' => $this->cat_id, 'valid_locations' => 
$valid_locations, 'dry_run'=>$dry_run));
+                       //$valid_locations = $this->get_gallery_location();
+            //echo '<pre>'; print_r($valid_locations);echo '</pre>';
+            //array_unshift($data['valid_locations'],$valid_locations);
+            
+            
+//                     $values = $this->so->read(array('start' => 
$this->start,'query' => $this->query,'sort' => $this->sort,'order' => 
$this->order,
+//                     'allrows'=>$this->allrows, 'location_id' => 
$this->location_id, 'user_id' => $this->user_id,
+//                     'mime_type' => $this->mime_type, 'start_date' => 
$start_date, 'end_date' => $end_date,
+//                     'cat_id' => $this->cat_id, 'valid_locations' => 
$valid_locations, 'dry_run'=>$dry_run));
 
+            $values = $this->so->read($data);
 
                        $img_types = array
                                (




reply via email to

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