Exemplo n.º 1
0
 public function __construct(array $campaigns, $options, $postData)
 {
     $this->requireJsPackage("campaigns");
     $this->requireJs("jquery-sortable-min");
     $this->requireCss("jquery-sortable-min");
     $this->campaigns = $campaigns;
     $this->sendTypeOptions = $options['sendTypeOptions'];
     $this->activeOptions = $options['activeOptions'];
     $this->labelOptions = $options['labelOptions'];
     $this->postData = $postData;
     $this->requireJsPackage("typeahead");
     $this->campaignsSearch = new TypeAheadSearchFormView(TypeAheadEnum::CAMPAIGNS(), "Search Campaigns...");
 }