SHARE
TWEET

Untitled

a guest Mar 23rd, 2012 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top