43 if(!
$library->isOwner() && !checkRole(
"fileshare,admin"))
44 redirect(
"/fileshare_libraries");
52 $form->hide(
"owner_id",
"allow_access",
"manage_folders",
"upload_files",
"delete_files",
"create_date",
"identifier");
53 $form->required(
"name");
58 $form->unique(
"name",
"A library already exists with that name. Please choose a different name.");
68 $tabs->queryString =
"document_library_id=".$form->data->document_library_id;
69 redirect(
"fileshare_library_members?document_library_id=".
$form->data->document_library_id);
75 <div
id=
"fileshare_content">
if(! $document_library_id) $library
static createLibraryObj()
static createLibrary($form)
static using()
Import the datamodels, views and manifest for the specified component(s).
static usingFile()
Uses the specified framework file(s) from the framework directory.
static libraryTabs($key="")
$method
Pull out a simple reference to the request method.