protected function UCXFTestCase::getFieldname in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 uc_extra_fields_pane.test \UCXFTestCase::getFieldname()
Returns fieldname with value type
Parameters
string $db_name:
Return value
string
3 calls to UCXFTestCase::getFieldname()
- UCXFOrderTestCase::testOrder in ./
uc_extra_fields_pane.test - Test the order administration.
- UCXFTestCase::checkout in ./
uc_extra_fields_pane.test - Overrides UbercartTestHelper::checkout().
- UCXFTestCase::checkValuesInDatabase in ./
uc_extra_fields_pane.test - Test if these values appear in the database.
File
- ./
uc_extra_fields_pane.test, line 491 - Automated tests for Extra Fields Pane
Class
- UCXFTestCase
- Base class for all Extra Fields Pane test cases.
Code
protected function getFieldname($db_name) {
$value_type = UCXF_FieldList::getFieldByName($db_name)
->get_value_type();
return $db_name . ' (' . $value_type . ')';
}