public function testGetLabel()
 {
     $filterConfig = new Tx_PtExtlist_Domain_Configuration_Filters_FilterConfig($this->configurationBuilderMock, $this->filterSettings, 'test');
     $this->assertEquals($filterConfig->getLabel(), $this->filterSettings['label']);
 }
Esempio n. 2
0
 /**
  * Returns an array of fields to be used for rendering breadcrumb message.
  *
  * Per default, this is the label of the filter and its value. Feel free to add
  * further values in your own filter classes
  *
  * @return array
  */
 protected function getFieldsForBreadcrumb()
 {
     return array('label' => $this->filterConfig->getLabel(), 'value' => $this->getDisplayValue());
 }