1 | <?php |
||
14 | class Yikes_Easy_MC_BuddyPress_Checkbox_Class extends Yikes_Easy_MC_Checkbox_Integration_Class { |
||
15 | |||
16 | /** |
||
17 | * The integration type. |
||
18 | * |
||
19 | * @var string $type |
||
20 | */ |
||
21 | protected $type = 'buddypress_form'; |
||
22 | |||
23 | /** |
||
24 | * Constructor. |
||
25 | */ |
||
26 | public function __construct() { |
||
30 | |||
31 | /** |
||
32 | * Outputs a checkbox if user is not already subscribed. |
||
33 | */ |
||
34 | public function output_checkbox() { |
||
40 | |||
41 | /** |
||
42 | * Subscribe the user if they so chose. |
||
43 | * |
||
44 | * @param int $user_id The user's ID. |
||
45 | * @param string $user_login The user's login. |
||
46 | * @param string $user_password The user's password. |
||
47 | * @param string $user_email The user's email. |
||
48 | */ |
||
49 | public function subscribe_from_buddypress_form( $user_id, $user_login, $user_password, $user_email ) { |
||
65 | } |
||
66 | $yikes_easy_mc_buddypress_checkbox_class = new Yikes_Easy_MC_BuddyPress_Checkbox_Class(); |
||
67 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.