FieldDescription.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /*
  3. * This file is part of the Sonata package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. *
  10. */
  11. namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
  12. use Sonata\AdminBundle\Admin\BaseFieldDescription;
  13. class FieldDescription extends BaseFieldDescription
  14. {
  15. public function setAssociationMapping($associationMapping)
  16. {
  17. // TODO: Implement setAssociationMapping() method.
  18. }
  19. public function getTargetEntity()
  20. {
  21. // TODO: Implement getTargetEntity() method.
  22. }
  23. public function setFieldMapping($fieldMapping)
  24. {
  25. // TODO: Implement setFieldMapping() method.
  26. }
  27. public function isIdentifier()
  28. {
  29. // TODO: Implement isIdentifier() method.
  30. }
  31. /**
  32. * set the parent association mappings information
  33. *
  34. * @param array $parentAssociationMappings
  35. * @return void
  36. */
  37. public function setParentAssociationMappings(array $parentAssociationMappings)
  38. {
  39. // TODO: Implement setParentAssociationMappings() method.
  40. }
  41. /**
  42. * return the value linked to the description
  43. *
  44. * @param $object
  45. * @return bool|mixed
  46. */
  47. public function getValue($object)
  48. {
  49. // TODO: Implement getValue() method.
  50. }
  51. }