Skip to content

Commit

Permalink
Add another proxy method.
Browse files Browse the repository at this point in the history
Fixes using the optimized timeobject listing in shared sql backends.
  • Loading branch information
yunosh committed Jan 2, 2014
1 parent 229f502 commit 4b88097
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions turba/lib/Driver/Share.php
Expand Up @@ -119,6 +119,23 @@ public function searchDuplicates()
return $this->_driver->searchDuplicates();
}

/**
* Obtains a Turba_List to get TimeObjects out of.
*
* @param Horde_Date $start The starting date.
* @param Horde_Date $end The ending date.
* @param string $field The address book field containing the
* timeObject information (birthday,
* anniversary).
*
* @return Turba_List A list of objects.
* @throws Turba_Exception
*/
public function getTimeObjectTurbaList(Horde_Date $start, Horde_Date $end, $field)
{
return $this->_driver->getTimeObjectTurbaList($start, $end, $field);
}

/**
* Checks if the current user has the requested permissions on this
* address book.
Expand Down

0 comments on commit 4b88097

Please sign in to comment.