Representation of a suggested action.
More...
Representation of a suggested action.
- Copyright
- 2019 David Monllao http://www.davidmonllao.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_action_link()
core_analytics\action::get_action_link |
( |
| ) |
|
Returns the link to the action.
- Return values
-
◆ get_action_name()
core_analytics\action::get_action_name |
( |
| ) |
|
Returns the action name.
- Return values
-
◆ get_text()
core_analytics\action::get_text |
( |
| ) |
|
Returns the action text.
- Return values
-
◆ get_type()
core_analytics\action::get_type |
( |
| ) |
|
Returns the type of action.
- Return values
-
string | The positiveness of the action (self::TYPE_POSITIVE, self::TYPE_NEGATIVE or self::TYPE_NEUTRAL) |
◆ get_url()
core_analytics\action::get_url |
( |
| ) |
|
Returns the url to the action.
- Return values
-
◆ set_type()
core_analytics\action::set_type |
( |
|
$type = false | ) |
|
Sets the type of the action according to its positiveness.
- Exceptions
-
- Parameters
-
string | false | $type | core_analytics\action::TYPE_POSITIVE, TYPE_NEGATIVE or TYPE_NEUTRAL |
The documentation for this class was generated from the following file: