/** * Retrieves a list of available authors on the site for admin navigation * * @since 5.0 * @access public * @param string * @return */ public function users() { // Ensure that this user is really allowed here if (!EB::isSiteAdmin()) { return EB::exception('COM_EASYBLOG_NOT_ALLOWED_TO_PERFORM_ACTION'); } // Get a list of authors on the site. $output = EBMM::renderUsers(); return $this->ajax->resolve($output); }