1 | <?php |
||
10 | class IntegerNet_Anonymizer_Model_Bridge_Entity_Enterprise_Giftregistry |
||
11 | extends IntegerNet_Anonymizer_Model_Bridge_Entity_Abstract |
||
12 | { |
||
13 | |||
14 | protected $_formattersByAttribute = array( |
||
15 | 'title' => 'sentence', |
||
16 | 'message' => 'paragraph', |
||
17 | 'shipping_address' => 'address', |
||
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() |
||
41 | |||
42 | /** |
||
43 | * Returns name of entity as translatable string |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | function getEntityName() |
||
51 | |||
52 | |||
53 | } |
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.