LLMS_Table_NotificationSettings::get_results( array $args = array() )
Execute a query to retrieve results from the table
Parameters Parameters
- $args
-
(array) (Optional) array of query args
Default value: array()
Return Return
(void)
Source Source
File: includes/admin/settings/tables/class.llms.table.notification.settings.php
public function get_results( $args = array() ) {
$rows = array();
foreach ( llms()->notifications()->get_controllers() as $controller ) {
$rows[] = array(
'id' => $controller->id,
'notification' => $controller->get_title(),
'configure' => $controller->get_supported_types(),
);
}
usort( $rows, array( $this, 'sort_rows' ) );
$this->tbody_data = $rows;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |