OrientDB/OrientDBRecordEncoder.php
protected function encode()
    {
        if (!is_null($this->className)) {
            $this->buffer .= $this->className . '@';
        }
        $tokens = $this->process($this->data);

        $this->buffer .= implode(',', $tokens);
    }
protected function encode()
    {
        if (!is_null($this->className)) {
            $this->buffer .= $this->className . '@';
        }
        $tokens = $this->process($this->data);

        $this->buffer .= implode(',', $tokens);
    }
Parses $this->content and populates $this->data and $this->className
@return void