SHARE
TWEET

Untitled

a guest Mar 23rd, 2012 19 Never
  1. # Node.php (model)
  2.  
  3. (...)
  4.  
  5. public function find()
  6. {
  7.         parent::find();
  8.  
  9.         // `get_fields()` loads associated fields.
  10.         $this->custom_fields = $this->get_fields();
  11. }
RAW Paste Data
Top