Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/editor/PhabricatorFileEditEngine.php
Show All 30 Lines | public function getEngineApplicationClass() { | ||||
return 'PhabricatorFilesApplication'; | return 'PhabricatorFilesApplication'; | ||||
} | } | ||||
protected function newEditableObject() { | protected function newEditableObject() { | ||||
return PhabricatorFile::initializeNewFile(); | return PhabricatorFile::initializeNewFile(); | ||||
} | } | ||||
protected function newObjectQuery() { | protected function newObjectQuery() { | ||||
return new PhabricatorFileQuery(); | $query = new PhabricatorFileQuery(); | ||||
$query->withIsDeleted(false); | |||||
return $query; | |||||
} | } | ||||
protected function getObjectCreateTitleText($object) { | protected function getObjectCreateTitleText($object) { | ||||
return pht('Create New File'); | return pht('Create New File'); | ||||
} | } | ||||
protected function getObjectEditTitleText($object) { | protected function getObjectEditTitleText($object) { | ||||
return pht('Edit File: %s', $object->getName()); | return pht('Edit File: %s', $object->getName()); | ||||
Show All 32 Lines |