public function transform($transformMode = '')
    {
        switch ($transformMode) {
            case ModelInterface::TRANSFORM_TO_JSON_ARRAY:
                return json_encode($this->objectToArray($this));
            default:
                return $this->objectToArray($this);
        }
    }
public function transform($transformMode = '')
    {
        switch ($transformMode) {
            case ModelInterface::TRANSFORM_TO_JSON_ARRAY:
                return json_encode($this->objectToArray($this));
            default:
                return $this->objectToArray($this);
        }
    }
public function transform ( $ transformMode = '' ) { switch ( $ transformMode ) { case ModelInterface :: TRANSFORM_TO_JSON_ARRAY : return json_encode ( $ this -> objectToArray ( $ this ) ) ; default : return $ this -> objectToArray ( $ this ) ; } }
get Outward presentation of object.

@param $transformMode

@return mixed
get Outward presentation of object .