src/ShopOrderStatusBundle/objects/data/TPkgShopOrderStatusDataEndPoint.class.php
public function getDataAsTdbArray()
    {
        $data = (null === $this->getStatusData()) ? array() : $this->getStatusData()->all();
        $data = serialize($data);

        return array(
            'shop_order_id' => $this->getOrder()->id,
            'shop_order_status_code_id' => $this->getShopOrderStatusCodeObject()->id,
            'status_date' => date('Y-m-d H:i:s', $this->getStatusTimestamp()),
            'info' => $this->getInfo(),
            'data' => $data,
        );
    }
public function getDataAsTdbArray()
    {
        $data = (null === $this->getStatusData()) ? array() : $this->getStatusData()->all();
        $data = serialize($data);

        return array(
            'shop_order_id' => $this->getOrder()->id,
            'shop_order_status_code_id' => $this->getShopOrderStatusCodeObject()->id,
            'status_date' => date('Y-m-d H:i:s', $this->getStatusTimestamp()),
            'info' => $this->getInfo(),
            'data' => $data,
        );
    }
public function getDataAsTdbArray ( ) { $ data = ( null === $ this -> getStatusData ( ) ) ? array ( ) : $ this -> getStatusData ( ) -> all ( ) ; $ data = serialize ( $ data ) ; return array ( 'shop_order_id' => $ this -> getOrder ( ) -> id , 'shop_order_status_code_id' => $ this -> getShopOrderStatusCodeObject ( ) -> id , 'status_date' => date ( 'Y-m-d H:i:s' , $ this -> getStatusTimestamp ( ) ) , 'info' => $ this -> getInfo ( ) , 'data' => $ data , ) ; }
returns an assoc array with the data of the object mapped to to the tdb fields.

@return array
returns an assoc array with the data of the object mapped to to the tdb fields .