Overview

Namespaces

  • DocPlanner
    • SDK
      • Base
        • ServiceDescription
      • Core
      • Model
        • Doctor
        • Geo
        • User
        • Visit
  • PHP

Classes

  • Doctor
  • Geo
  • User
  • Visit
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Author: Ɓukasz Barulski
 4:  * Date: 23.04.13 17:44
 5:  */
 6: namespace DocPlanner\SDK\Core;
 7: 
 8: use DocPlanner\SDK\Base\CoreBase;
 9: use DocPlanner\SDK\Base\Result;
10: 
11: /**
12:  * Class Geo
13:  * @package DocPlanner\SDK\Core
14:  */
15: class Geo extends CoreBase
16: {
17:     /**
18:      * @param null|string $phrase
19:      *
20:      * @return Result|\DocPlanner\SDK\Model\Geo\Cities[]|array
21:      */
22:     public function cities($phrase = null)
23:     {
24:         $this->parameter->add(['phrase' => $phrase]);
25:         $result = $this->baseSDK->execute('geo.cities', $this->parameter);
26:         return $result;
27:     }
28: }
Docplanner API documentation generated by ApiGen 2.8.0