Overview

Namespaces

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

Classes

  • BaseSDK
  • CoreBase
  • Parameter
  • Result

Exceptions

  • DPException
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Author: Ɓukasz Barulski
 4:  * Date: 24.04.13 13:35
 5:  */
 6: namespace DocPlanner\SDK\Base;
 7: 
 8: /**
 9:  * Class Result
10:  * @package DocPlanner\SDK\Base
11:  */
12: class Result extends \ArrayObject
13: {
14:     /**
15:      * @param array $input
16:      */
17:     public function __construct($input = null)
18:     {
19:         foreach ($input as $key => $value)
20:         {
21:             if (property_exists($this, $key))
22:             {
23:                 $this->$key = $value;
24:             }
25:         }
26:         parent::__construct($input, \ArrayObject::ARRAY_AS_PROPS | \ArrayObject::STD_PROP_LIST);
27:     }
28: }
Docplanner API documentation generated by ApiGen 2.8.0