Krang::Workspace - data broker for My Workspace CGI
use Krang::ClassLoader 'Workspace';
# get a list of objects on the current user's workspace
@objects = pkg('Workspace')->find();
# get just the first 10, sorting by url:
@objects = pkg('Workspace')->find(limit => 10,
offset => 0,
order_by => 'url');
This module provides a find() method which returns all objects
checked-out to a particular user.
@objects = Krang::Workspace->find()$count = Krang::Workspace->find(count => 1)Since the returned objects do not share single ID-space, the standard
ids_only mode is not supported.
Available search options are:
Options affecting the search and the results returned: