Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $parentValue = $this->getParent()->getValue();
- if ($parentValue && false === ($data = json_decode($parentValue, true)) {
- return ($data['id'] == $value);
- }
- return false;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment