Exemple #1
0
 public function getValues($keys = null, $format = null, $maxDepth = null)
 {
     $page = Page::getInstance();
     $ret = parent::getValues($keys, $format, $maxDepth);
     $ret['rating'] = number_format($this->getVar('rating'), 1);
     $ret['lid'] = $this->getVar('lid');
     $ret['name'] = $this->getVar('name');
     $ret['mname'] = $this->getVar('mname');
     $ret['lname'] = $this->getVar('lname');
     $ret['school'] = $this->getVar('school');
     $ret['year'] = $this->getVar('year');
     $ret['submitter'] = $this->getVar('submitter');
     $ret['date'] = $this->getVar('date');
     return $ret;
 }