PluginProbe
Stream – Activity Log & Audit Trail / 3.4.2
Stream – Activity Log & Audit Trail v3.4.2
4.4.0 4.3.0 4.2.2 4.2.1 trunk 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1 3.1.1 3.10.0 3.2.0 3.2.1 3.2.2 3.2.3 All 50 releases
← All changes | classes/class-alert-trigger.php +6 -6 trunk3.4.2 View file →
@@ -14,9 +14,9 @@
14 14 */
15 15 abstract class Alert_Trigger {
16 16
17 17 /**
18 - * Holds instance of plugin object
18 + * Hold the Plugin class
19 19 *
20 20 * @var Plugin
21 21 */
22 22 public $plugin;
@@ -30,9 +30,9 @@
30 30
31 31 /**
32 32 * Class constructor
33 33 *
34 - * @param Plugin $plugin Instance of plugin object.
34 + * @param Plugin $plugin Plugin class.
35 35 */
36 36 public function __construct( $plugin ) {
37 37 $this->plugin = $plugin;
38 38
@@ -51,9 +51,9 @@
51 51 * @param array $recordarr Record data.
52 52 * @param Alert $alert The Alert being worked on.
53 53 * @return bool False on failure, otherwise should return original value of $success.
54 54 */
55 - abstract public function check_record( $success, $record_id, $recordarr, $alert );
55 + abstract public function check_record ( $success, $record_id, $recordarr, $alert );
56 56
57 57 /**
58 58 * Adds fields to the trigger form.
59 59 *
@@ -77,13 +77,13 @@
77 77
78 78 /**
79 79 * Returns the trigger's value for the given alert.
80 80 *
81 - * @param string $context The location this data will be displayed in.
82 - * @param Alert|null $alert Alert being processed.
81 + * @param string $context The location this data will be displayed in.
82 + * @param Alert $alert Alert being processed.
83 83 * @return string
84 84 */
85 - abstract public function get_display_value( $context = 'normal', $alert = null );
85 + abstract public function get_display_value( $context = 'normal', $alert );
86 86
87 87 /**
88 88 * Allow connectors to determine if their dependencies is satisfied or not
89 89 *