Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
class ConfigboxViewMyCustomView extends KenedoView {

    function getJsInitCallsOnce() {
    // General init calls need to be included
    $calls = parent::getJsInitCallsOnce();
    // Here we add our own
 	   $calls[] = 'configbox/configurator::initConfiguratorPage';
    return $calls;
  }
  
  function getJsInitCallsEach() {
    // General init calls need to be included
    $calls = parent::getJsInitCallsEach();
    // Here we add our own
    $calls[] = 'configbox/configurator::initConfiguratorPageEach';
    return $calls;
  }
  
}

...