Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

POGI 0.2.1 Released: msg#00017

cms.opengroupware.xmlrpc.devel

Subject: POGI 0.2.1 Released

http://docs.opengroupware.org/Members/whitemice/ogo-n-php/pogi021/view

New required configuration value:
$GLOBALS['ogoConfig']['NumberPrefix'] = 'OGo';

Change the value of this is you have altered the value of the Number
prefix via defaults. The code needs to know this so we can strip it
from then number to produce a short ids for the team as the team objects
do not contain an id value - and you have to use the id value when
calling the access methods.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=844

New method: OGoTeam::getShortId()
New method: OGoManager::setPermission($_obj, $_ent, $_perm = '')

To set contact 10100 to read only for object 26850
-----------------------------------------------------
$server = new OGoServer('*************', '/RPC2', 80);
// Set you user credentials - username, password
$server->login('************', '***********');
// Create A Task Manager Object
$contactManager = $server->getPersonManager();
$contact = $contactManager->getById(10100);
$contactManager->setPermission($contact, array(26850), 'r');

_obj is an enterprise or contact object.
_ent is an array of object ids, either accounts or teams.
_perm can be "", "r" or "rw"

_obj must be an OGoEnterprise or OGoPerson object or else this method
silently does nothing.

You can also specify an $_ent as null, like -
$contactManager->setPermission($contact, null, '');

This will apply the specified permissions to the object for all of the
teams the current user is a contact of.

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation