Gtk2-Net-LDAP-Widgets
view release on metacpan or search on metacpan
Widgets/DistinguishedName.pm view on Meta::CPAN
our $VERSION = "2.0.1";
our $dntext;
our $dn;
use overload
q{""} => 'to_string';
# by OLO
# czw mar 17 17:51:34 CET 2005
# Constructor:
sub new {
my $class = shift;
my $self = {};
$self->{dntext} = shift;
$self->{dn} = _dn_normalize($self->{dntext});
bless $self, $class;
}
# by OLO
# czw mar 17 17:51:20 CET 2005
# Conversion of self to string:
sub to_string {
my $self = shift;
return $self->{dntext};
}
#---[ sub isDescendant ]---{{{
=head2 isDescendant
Widgets/LdapEntrySelector.pm view on Meta::CPAN
$btnFiltruj->signal_connect (clicked => sub {
$self->refresh_list;
});
bless $self, $class;
}
#---}}}
# by OLO
# czw mar 17 17:51:20 CET 2005
# Conversion of self to string:
sub to_string {
my $self = shift;
return $self->{class}.' "'.\$self.'"';
}
#---[ sub refresh_list ]---{{{
=head2 refresh_list
Widgets/LdapEntryView.pm view on Meta::CPAN
our $VERSION = "2.0.1";
our $dn_column = 0;
our $bool_column = 1;
use overload
q{""} => 'to_string';
# by OLO
# czw mar 17 17:51:34 CET 2005
# Constructor:
sub new {
my $class = shift;
my $self = $class->SUPER::new;
$self->{ldap_source} = shift;
$self->{base_dn} = shift;
$self->{static_filter} = shift;
$self->{interactive_filter} = shift;
$self->{single_selection} = shift;
Widgets/LdapEntryView.pm view on Meta::CPAN
$column = $self->get_column ($col_offset - 1);
$column->set_clickable (1);
bless $self, $class;
$self->refresh_model;
bless $self, $class;
}
# by OLO
# czw mar 17 17:51:20 CET 2005
# Conversion of self to string:
sub to_string {
my $self = shift;
return $self->{class}.' "'.\$self.'"';
}
# by OLO
# wto kwi 19 12:15:31 CEST 2005
# Returns the list of selected entries' Distinguished Names.
sub get_dn {
Widgets/LdapTreeSelector.pm view on Meta::CPAN
# by OLO
# czw mar 17 14:10:53 CET 2005
# LdapTreeSelector: wielokrotna selekca elementow z drzewa LDAP
package Gtk2::Net::LDAP::Widgets::LdapTreeSelector;
#---[ pod head ]---{{{
=head1 NAME
Gtk2::Net::LDAP::Widgets::LdapTreeSelector - LDAP entry tree selection window
=head1 SYNOPSIS
Widgets/LdapTreeSelector.pm view on Meta::CPAN
$btnFiltruj->signal_connect (clicked => sub {
$self->refresh_list;
});
bless $self, $class;
}
#---}}}
# by OLO
# czw mar 17 17:51:20 CET 2005
# Conversion of self to string:
sub to_string {
my $self = shift;
return $self->{class}.' "'.\$self.'"';
}
#---[ sub refresh_list ]---{{{
=head2 refresh_list
Refresh the entries list - re-execute the search with the filter determined by
Widgets/LdapTreeView.pm view on Meta::CPAN
$dn_iters{$dn->{dn}} = $child;
$prev_dn = $dn;
}
$self->set_model($tree_model);
}
#---}}}
# by OLO
# czw mar 17 17:51:20 CET 2005
# Conversion of self to string:
sub to_string {
my $self = shift;
return $self->{class}.' "'.\$self.'"';
}
#---[ sub get_dn ]---{{{
=head2 get_dn
( run in 0.752 second using v1.01-cache-2.11-cpan-49f99fa48dc )