keesschepers

code formatting

Jul 9th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2.         $parentValue = $this->getParent()->getValue();
  3.  
  4.         if ($parentValue && false === ($data = json_decode($parentValue, true)) {
  5.             return ($data['id'] == $value);
  6.         }
  7.  
  8.         return false;  
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment