Sakai::Stats::Institutions
Library that allows a user id to be mapped to one or more institutions.
Create, set up, and return an Institutions object.
Given an ldap connection, search string, attributes and base, this method performs the ldap search and returns the result as a perl data structure.
Populates the institution map with user id as the key and an array of institutions the uid is a member of as the value.
Populates the instid map with institution id as the key and the human readable name for the institution as the value.
Connect to the LDAP host with the given configuration.
This is the top level method for setting up the uid to institutions map.
This is the top level method for setting up the instid to institution name map.
Method for printing to the provided file handle a representation of the membership count data.
Print out the number of people who are members of 1,2,3,4... etc. institutions.
Print the number of unique users from an institution for a given month.
Fetches data from a specified database server to construct the instid counts.
Print out the number of unique users from each institution for a given month.
use Sakai::Stats::Institutions;
Library to map users to institutions they are a member of.
None required.
n/a
0 on success.
None known.
Daniel David Parry <perl@ddp.me.uk>
LICENSE: http://dev.perl.org/licenses/artistic.html
COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>
To install Sakai::Stats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sakai::Stats
CPAN shell
perl -MCPAN -e shell install Sakai::Stats
For more information on module installation, please visit the detailed CPAN module installation guide.