Lines Matching refs:this

32         $this->helper = $this->loadHelper('newsfeed');
36 $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handleAjax');
37 $controller->register_hook('ACTION_ACT_PREPROCESS', 'AFTER', $this, 'handleMetaData');
38 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'handleActPreprocess');
39 $controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'handleActUnknown');
56 $this->handleEditForm();
59 $this->handleStreamPreview();
80 $this->handleNews();
83 $this->handlePriority();
86 $this->handleDelete();
89 $this->handleCache();
103 …echo json_encode($this->printStream((int)$payload['news']['offset'], (int)$payload['news']['length…
114 $news = $this->helper->serviceNews->getById($newsId);
116 $this->helper->openGraphData->addMetaData('og', 'title', $news->title);
117 $this->helper->openGraphData->addMetaData('og', 'url', $news->getToken($ID));
119 $this->helper->openGraphData->addMetaData('og', 'description', $text);
121 … $this->helper->openGraphData->addMetaData('og', 'image', ml($news->image, null, true, '&', true));
127 $stream = $this->helper->serviceStream->findByName($streamId);
166 $this->helper->serviceNews->create($data);
167 … $this->saveIntoStreams($this->helper->serviceNews->getMaxId(), $INPUT->param('news')['stream']);
169 $news = $this->helper->serviceNews->getById($INPUT->param('news')['id']);
170 $this->helper->serviceNews->update($news, $data);
177 $stream = $this->helper->serviceStream->findByName($streamName);
180 $this->helper->fullParentDependence($stream->streamId, $streams);
183 $this->helper->servicePriority->store($newsId, $stream);
193 $stream = $this->helper->serviceStream->findByName($INPUT->param('news')['stream']);
195 …$priority = $this->helper->servicePriority->findByNewsAndStream($INPUT->param('news')['id'], $stre…
197 $this->helper->servicePriority->update($priority, [
208 $stream = $this->helper->serviceStream->findByName($INPUT->param('news')['stream']);
209 …$priority = $this->helper->servicePriority->findByNewsAndStream($INPUT->param('news')['id'], $stre…
218 $news = $this->helper->serviceNews->getAll();
249 $data = $this->helper->serviceNews->getById($INPUT->param('news')['id']);
251 $data = new ModelNews($this->helper->sqlite);
267 $input = $form->addTextarea('text', $this->getLang($field), -1)->attrs([
274 $input = new DateTimeInputElement($field, $this->getLang($field));
281 …$input = $form->addDropdown('category', static::$categories, $this->getLang($field))->attr('class'…
285 … $input = $form->addTextInput($field, $this->getLang($field))->attr('class', 'form-control');
289 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
295 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
301 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
309 $input = new InputElement('email', $field, $this->getLang($field));
315 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
325 if ($note = $this->getLang($field . '_note')) {
331 $form->addButton('submit', $this->getLang('save'))->addClass('btn btn-success');