Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionLintController.php
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$link = null; | $link = null; | ||||
if (!$this->diffusionRequest) { | if (!$this->diffusionRequest) { | ||||
$form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
->setUser($user) | ->setUser($user) | ||||
->setMethod('GET') | ->setMethod('GET') | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormTokenizerControl()) | id(new AphrontFormTokenizerControl()) | ||||
->setUser($user) | |||||
->setDatasource('/typeahead/common/users/') | ->setDatasource('/typeahead/common/users/') | ||||
->setLimit(1) | ->setLimit(1) | ||||
->setName('owner') | ->setName('owner') | ||||
->setLabel(pht('Owner')) | ->setLabel(pht('Owner')) | ||||
->setValue($owner_handles)) | ->setValue($owner_handles)) | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormSubmitControl()) | id(new AphrontFormSubmitControl()) | ||||
->setValue('Filter')); | ->setValue('Filter')); | ||||
▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines |