public function setLocalRecord($nick, $checkpoints)
    {
        if (count($checkpoints) > 0) {
            $this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', Builder::getArray($checkpoints, true));
            $this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText($nick));
        } else {
            $this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', "Integer[Integer]");
            $this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText("-"));
        }
    }
public function setLocalRecord($nick, $checkpoints)
    {
        if (count($checkpoints) > 0) {
            $this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', Builder::getArray($checkpoints, true));
            $this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText($nick));
        } else {
            $this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', "Integer[Integer]");
            $this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText("-"));
        }
    }
public function setLocalRecord ( $ nick , $ checkpoints ) { if ( count ( $ checkpoints ) > 0 ) { $ this -> updateValue ( $ this -> playerGroup , 'LocalRecordCheckpoints' , Builder :: getArray ( $ checkpoints , true ) ) ; $ this -> updateValue ( $ this -> playerGroup , 'LocalRecordHolder' , Builder :: escapeText ( $ nick ) ) ; } else { $ this -> updateValue ( $ this -> playerGroup , 'LocalRecordCheckpoints' , "Integer[Integer]" ) ; $ this -> updateValue ( $ this -> playerGroup , 'LocalRecordHolder' , Builder :: escapeText ( "-" ) ) ; } }
Update with new local record.

@param array $checkpoints
Update with new local record .