1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
require_once('Plugin.class.php');
class InformationPlugin extends Plugin {
public static function configList() { return array(); }
public function init() {}
public static function description() {
return "Get information about the user.";
}
public function userConfig(&$arr) {
$group = 'Information';
$this->addConfigGroup($arr, $group);
$arr[$group][] = array('firstname','First Name','text');
$arr[$group][] = array('lastname','Last Name','text');
$arr[$group][] = array('school','Home School','text');
$arr[$group][] = array('hsclass','Highschool Class of','text');
$group = 'Application-Resume-Things';
$this->addConfigGroup($arr, $group);
$arr[$group][] = array('why_team',
'Why you want to be on the team',
'textarea');
}
public function sendPrivate($to, $id, $subject, $body) {}
public function sendBroadcast($id, $subject, $body) {}
}
|