Skip to main content
edited title
Link
Brad Bell
  • 67.6k
  • 6
  • 75
  • 145

Getting properties out from the craftCraft text object

Source Link

Getting properties out from the craft text object

I got this kind of object.

Craft\RichTextData Object
(
    [_pages:Craft\RichTextData:private] => 
    [_rawContent:Craft\RichTextData:private] => 
    Standard Rate:  Cancellation policy is 24 hours prior to 11.00am 
        on day of arrival.

    [content:protected] => 
    Standard Rate:  Cancellation policy is 24 hours prior to 11.00am 
        on day of arrival.

    [charset:protected] => UTF-8
 )

Can someone help me to get the text out from this ?