Paradox/pod/Document.php
public function loadFromArray($data)
    {
        foreach ($data as $property => $value) {

            switch ($property) {

                case "_id":
                    $this->setId($value);
                    break;

                case "_key":
                    break;

                case "_rev":
                    $this->setRevision($value);
                    break;

                default:
                    $this->_data[$property] = $value;
                    break;
            }
        }
    }
public function loadFromArray($data)
    {
        foreach ($data as $property => $value) {

            switch ($property) {

                case "_id":
                    $this->setId($value);
                    break;

                case "_key":
                    break;

                case "_rev":
                    $this->setRevision($value);
                    break;

                default:
                    $this->_data[$property] = $value;
                    break;
            }
        }
    }
Load this pod with document data from an array.
@param array $data