| 1 | <?php |
||
| 10 | class IntegerNet_Anonymizer_Model_Bridge_Entity_Enterprise_GiftregistryPerson |
||
| 11 | extends IntegerNet_Anonymizer_Model_Bridge_Entity_Abstract |
||
| 12 | { |
||
| 13 | |||
| 14 | protected $_formattersByAttribute = array( |
||
| 15 | 'email' => 'safeEmail', |
||
| 16 | 'firstname' => 'firstName', |
||
| 17 | 'lastname' => 'lastName', |
||
| 18 | 'custom_values' => 'null', |
||
| 19 | ); |
||
| 20 | |||
| 21 | |||
| 22 | function __construct() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Sets identifier based on current entity |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | protected function _setIdentifier() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Returns name of entity as translatable string |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | function getEntityName() |
||
| 46 | |||
| 47 | |||
| 48 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.