API docs and get_zone_records

Started by shaun, June 14, 2007, 06:33:32 PM

Previous topic - Next topic

shaun

The documentation needs to let people know that the can only specific a limit of less than 100... NicToolServer.pm will overwrite your limit if it's over this amount for whatever reason......


NicToolServer.pm Line 1648

$r_data->{'limit'} = ($data->{'limit'} <= 100 ? $data->{'limit'} : 100);

I'm going to imagine that this line doesnt only affect get_zone_records but probably may other functions that call set_paging_vars



[root@blue NicToolServer]# grep "set_paging_vars" -r *
blib/lib/NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Nameserver.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
blib/lib/NicToolServer.pm:sub set_paging_vars {
NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/User.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Nameserver.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Zone.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer/Group.pm:    $self->set_paging_vars($data, $r_data);
NicToolServer.pm:sub set_paging_vars {


matt


matt