Revision 5595,
673 bytes
checked in by niltonneto, 12 years ago
(diff) |
Ticket #2507 - Commit inicial de arquivos e pastas no sandbox.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[5595] | 1 | <?php |
---|
| 2 | |
---|
| 3 | include_once("Expresso.php"); |
---|
| 4 | |
---|
| 5 | class Catalog extends Expresso { |
---|
| 6 | var $ldap; |
---|
| 7 | var $db; |
---|
| 8 | |
---|
| 9 | private function getLdap(){ |
---|
| 10 | if($this->ldap == null) { |
---|
| 11 | |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | return $this->ldap; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | private function getDb(){ |
---|
| 18 | if($this->ldap == null) { |
---|
| 19 | |
---|
| 20 | } |
---|
| 21 | return $this->db; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | public function getUserContacts($params){ |
---|
| 26 | if($this->isLoggedIn($params)) { |
---|
| 27 | |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | $this->result = array ( |
---|
| 31 | 'contacts' => $contacts |
---|
| 32 | ); |
---|
| 33 | |
---|
| 34 | return $this->getResponse(); |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | public function getGlobalContacts($params){ |
---|
| 38 | |
---|
| 39 | if($this->isLoggedIn($params)) { |
---|
| 40 | |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | $this->result = array ( |
---|
| 44 | 'contacts' => $contacts |
---|
| 45 | ); |
---|
| 46 | |
---|
| 47 | return $this->getResponse(); |
---|
| 48 | } |
---|
| 49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.