Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function resolveParams($context){
- $values = json_decode(Frontend::instance()->Configuration->get('values', 'section_date'), true);
- if (is_array($values) && !empty($values)){
- foreach($values as $key => $value){
- $section = "{$key}-date";
- Frontend::instance()->Page()->_param[$section] = $value;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement