/** * Evaluates if a column is accessable by the FE-User(-Group). * * @param Tx_PtExtlist_Domain_Configuration_Columns_ColumnConfig $columnConfig * * @return bool */ public function isAccessableColumn(Tx_PtExtlist_Domain_Configuration_Columns_ColumnConfig $columnConfig) { // FAIL if one of this tests are failing. if (!$this->checkFields($columnConfig->getFieldIdentifier())) { return false; } // OR if (!$this->checkColumn($columnConfig)) { return false; } // OTHERWISE allow access. return true; }
public function testGetFieldIdentifier() { $this->assertEquals($this->columnConfig->getFieldIdentifier()->getFieldConfigByIdentifier($this->columnSettings['fieldIdentifier'])->getIdentifier(), $this->columnSettings['fieldIdentifier']); }