Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement