| 1 | <?php |
||
| 15 | class WordPoints_BP_Entity_Group_Parent |
||
|
|
|||
| 16 | extends WordPoints_Entity_Relationship_Stored_Field { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @since 1.0.0 |
||
| 20 | */ |
||
| 21 | protected $storage_type = 'db'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @since 1.0.0 |
||
| 25 | */ |
||
| 26 | protected $primary_entity_slug = 'bp_group'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @since 1.0.0 |
||
| 30 | */ |
||
| 31 | protected $related_entity_slug = 'bp_group'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @since 1.0.0 |
||
| 35 | */ |
||
| 36 | protected $related_ids_field = 'parent_id'; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @since 1.0.0 |
||
| 40 | */ |
||
| 41 | public function get_title() { |
||
| 44 | } |
||
| 45 | |||
| 47 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.