Posted By

xvans on 08/26/14


Tagged

class toString


Versions (?)

class toString


 / Published in: PHP
 

Export data class to string

  1. function __toString () {
  2. return json_encode($this->_data);
  3. }

Report this snippet  

You need to login to post a comment.