Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
core_webservice Namespace Reference

  More...

Namespaces

namespace  privacy
  
 

Classes

class  token_form
 Form to create and edit a web service token. More...
 

Functions

 __construct ($id, $filterdata=null)
 Sets up the table.
 
 col_creatorlastname ($data)
 Generate the creator column.
 
 col_fullname ($data)
 Generate the fullname column.
 
 col_lastaccess (\stdClass $data)
 Generate the last access column.
 
 col_name ($data)
 Generate the name column.
 
 col_operation ($data)
 Generate the operation column.
 
 col_servicename ($data)
 Format the service name column.
 
 col_validuntil ($data)
 Generate the validuntil column.
 
 other_cols ($colname, $data)
 This function is used for the extra user fields.
 
 query_db ($pagesize, $useinitialsbar=false)
 Query the database for results to display in the table.
 

Variables

 $attributes
 
object $filterdata
 
bool $hasviewfullnames
 $hasviewfullnames Does the user have the viewfullnames capability.
 
 $mform = $this->_form
 
 $options = $DB->get_records_menu('external_services', null, '', 'id, name')
 
 $presetdata = $this->_customdata
 
array $userextrafields
 
replacement __pad0__
 Form allowing to filter displayed tokens.
 
if(empty($presetdata->token) &&empty($presetdata->users) &&empty($presetdata->services)) else
 
replacement mdl
 
replacement reason
 
replacement since
 

Detailed Description

 

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later