PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/src/applications/almanac/editor/AlmanacBindingEditor.php

http://github.com/facebook/phabricator
PHP | 22 lines | 16 code | 6 blank | 0 comment | 0 complexity | 04938b49e69cd0dd4dc8a2cec31a48fc MD5 | raw file
Possible License(s): JSON, MPL-2.0-no-copyleft-exception, Apache-2.0, BSD-3-Clause, LGPL-2.0, MIT, LGPL-2.1, LGPL-3.0
  1. <?php
  2. final class AlmanacBindingEditor
  3. extends AlmanacEditor {
  4. public function getEditorObjectsDescription() {
  5. return pht('Almanac Binding');
  6. }
  7. public function getCreateObjectTitle($author, $object) {
  8. return pht('%s created this binding.', $author);
  9. }
  10. public function getCreateObjectTitleForFeed($author, $object) {
  11. return pht('%s created %s.', $author, $object);
  12. }
  13. protected function supportsSearch() {
  14. return true;
  15. }
  16. }