Advertisement
Guest User

Untitled

a guest
May 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.         public function resolveParams($context){
  2.             $values = json_decode(Frontend::instance()->Configuration->get('values', 'section_date'), true);
  3.            
  4.             if (is_array($values) && !empty($values)){
  5.                 foreach($values as $key => $value){
  6.                     $section = "{$key}-date";
  7.                     Frontend::instance()->Page()->_param[$section] = $value;
  8.                 }
  9.             }
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement