• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ListbuilderHandler类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中ListbuilderHandler的典型用法代码示例。如果您正苦于以下问题:PHP ListbuilderHandler类的具体用法?PHP ListbuilderHandler怎么用?PHP ListbuilderHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了ListbuilderHandler类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: execute

 /**
  * Save changes to submission.
  * @param $args array
  * @param $request PKPRequest
  * @return int the submission ID
  */
 function execute($args, $request)
 {
     parent::execute($args, $request);
     // handle category assignment.
     ListbuilderHandler::unpack($request, $this->getData('categories'), array($this, 'deleteEntry'), array($this, 'insertEntry'), array($this, 'updateEntry'));
     return $this->submissionId;
 }
开发者ID:NateWr,项目名称:omp,代码行数:13,代码来源:SubmissionSubmitStep3Form.inc.php


示例2: readInputData

 /**
  * Assign form data to user-submitted data.
  */
 function readInputData()
 {
     parent::readInputData();
     $this->readUserVars(array('categories', 'seriesId', 'seriesPosition'));
     $application = PKPApplication::getApplication();
     $request = $application->getRequest();
     ListbuilderHandler::unpack($request, $this->getData('categories'), array($this, 'deleteEntry'), array($this, 'insertEntry'), array($this, 'updateEntry'));
 }
开发者ID:NateWr,项目名称:omp,代码行数:11,代码来源:SubmissionMetadataViewForm.inc.php


示例3: execute

 /**
  * Save changes to submission.
  * @param $args array
  * @param $request PKPRequest
  * @return int the submission ID
  */
 function execute($args, $request)
 {
     parent::execute($args, $request);
     // handle category assignment.
     ListbuilderHandler::unpack($request, $this->getData('categories'));
     $submissionDao = Application::getSubmissionDAO();
     $submission = $submissionDao->getById($this->submissionId);
     // Send author notification email
     import('classes.mail.MonographMailTemplate');
     $mail = new MonographMailTemplate($submission, 'SUBMISSION_ACK', null, null, null, false);
     $authorMail = new MonographMailTemplate($submission, 'SUBMISSION_ACK_NOT_USER', null, null, null, false);
     $context = $request->getContext();
     $router = $request->getRouter();
     if ($mail->isEnabled()) {
         // submission ack emails should be from the contact.
         $mail->setReplyTo($this->context->getSetting('contactEmail'), $this->context->getSetting('contactName'));
         $authorMail->setReplyTo($this->context->getSetting('contactEmail'), $this->context->getSetting('contactName'));
         $user = $request->getUser();
         $primaryAuthor = $submission->getPrimaryAuthor();
         if (!isset($primaryAuthor)) {
             $authors = $submission->getAuthors();
             $primaryAuthor = $authors[0];
         }
         $mail->addRecipient($user->getEmail(), $user->getFullName());
         if ($user->getEmail() != $primaryAuthor->getEmail()) {
             $authorMail->addRecipient($primaryAuthor->getEmail(), $primaryAuthor->getFullName());
         }
         if ($context->getSetting('copySubmissionAckPrimaryContact')) {
             $authorMail->addBcc($context->getSetting('contactEmail'), $context->getSetting('contactName'));
         }
         if ($copyAddress = $context->getSetting('copySubmissionAckAddress')) {
             $authorMail->addBcc($copyAddress);
         }
         $assignedAuthors = $submission->getAuthors();
         foreach ($assignedAuthors as $author) {
             $authorEmail = $author->getEmail();
             // only add the author email if they have not already been added as the primary author
             // or user creating the submission.
             if ($authorEmail != $primaryAuthor->getEmail() && $authorEmail != $user->getEmail()) {
                 $authorMail->addRecipient($author->getEmail(), $author->getFullName());
             }
         }
         $mail->bccAssignedSeriesEditors($submission->getId(), WORKFLOW_STAGE_ID_SUBMISSION);
         $mail->assignParams(array('authorName' => $user->getFullName(), 'authorUsername' => $user->getUsername(), 'editorialContactSignature' => $context->getSetting('contactName') . "\n" . $context->getLocalizedName(), 'submissionUrl' => $router->url($request, null, 'authorDashboard', 'submission', $submission->getId())));
         $authorMail->assignParams(array('submitterName' => $user->getFullName(), 'editorialContactSignature' => $context->getSetting('contactName') . "\n" . $context->getLocalizedName()));
         $mail->send($request);
         $recipients = $authorMail->getRecipients();
         if (!empty($recipients)) {
             $authorMail->send($request);
         }
     }
     // Log submission.
     import('lib.pkp.classes.log.SubmissionLog');
     import('classes.log.SubmissionEventLogEntry');
     // constants
     SubmissionLog::logEvent($request, $submission, SUBMISSION_LOG_SUBMISSION_SUBMIT, 'submission.event.submissionSubmitted');
     return $this->submissionId;
 }
开发者ID:austinvernsonger,项目名称:omp,代码行数:64,代码来源:SubmissionSubmitStep3Form.inc.php


示例4: isValid

 /**
  * Check the number of lisbuilder rows. If it's equal to 0, return false.
  *
  * @see FormValidator::isValid()
  * @return boolean
  */
 function isValid()
 {
     $value = $this->getFieldValue();
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     ListbuilderHandler::unpack($request, $value);
     if ($this->_valid) {
         return true;
     } else {
         return false;
     }
 }
开发者ID:farhanabbas1983,项目名称:ojs-1,代码行数:17,代码来源:FormValidatorListbuilder.inc.php


示例5: execute

 /**
  * @copydoc ContextSettingsForm::execute()
  * @param $request Request
  */
 function execute($request)
 {
     $journal = $request->getContext();
     if ($journal->getEnabled() !== $this->getData('journalEnabled')) {
         $journalDao = DAORegistry::getDAO('JournalDAO');
         $journal->setEnabled($this->getData('journalEnabled'));
         $journalDao->updateObject($journal);
     }
     // Save block plugins context positions.
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     $this->categories = null;
     ListbuilderHandler::unpack($request, $request->getUserVar('categories'));
     $this->setData('categories', $this->categories);
     parent::execute($request);
 }
开发者ID:jalperin,项目名称:ojs,代码行数:19,代码来源:MastheadForm.inc.php


示例6: fetch

 /**
  * @see ListbuilderHandler::fetch()
  */
 function fetch($args, &$request)
 {
     $userGroupId = (int) $request->getUserVar('userGroupId');
     $monograph =& $this->getMonograph();
     $params = array('monographId' => $monograph->getId(), 'userGroupId' => $userGroupId, 'stageId' => $this->getStageId());
     $router =& $request->getRouter();
     $additionalVars = array('addUrl' => $router->url($request, array(), null, 'addItem', null, $params), 'deleteUrl' => $router->url($request, array(), null, 'deleteItems', null, $params));
     return parent::fetch($args, &$request, $additionalVars);
 }
开发者ID:jerico-dev,项目名称:omp,代码行数:12,代码来源:StageParticipantListbuilderHandler.inc.php


示例7: execute

 /**
  * @copydoc Form::execute()
  */
 function execute($request)
 {
     ListbuilderHandler::unpack($request, $this->getData('roles'));
 }
开发者ID:selwyntcy,项目名称:pkp-lib,代码行数:7,代码来源:UserForm.inc.php


示例8: initialize

 /**
  * @copydoc ListbuilderHandler::initialize()
  */
 function initialize($request)
 {
     $this->setContext($request->getContext());
     return parent::initialize($request);
 }
开发者ID:PublishingWithoutWalls,项目名称:pkp-lib,代码行数:8,代码来源:SetupListbuilderHandler.inc.php


示例9: execute

 /**
  * Save review form element.
  * @param $request PKPRequest
  * @return int Review form element ID
  */
 function execute($request)
 {
     $reviewFormElementDao = DAORegistry::getDAO('ReviewFormElementDAO');
     if ($this->reviewFormElementId) {
         $context = $request->getContext();
         $reviewFormElement = $reviewFormElementDao->getById($this->reviewFormElementId);
         $reviewFormDao = DAORegistry::getDAO('ReviewFormDAO');
         $reviewForm = $reviewFormDao->getById($reviewFormElement->getReviewFormId(), Application::getContextAssocType(), $context->getId());
         if (!$reviewForm) {
             fatalError('Invalid review form element ID!');
         }
     } else {
         $reviewFormElement = $reviewFormElementDao->newDataObject();
         $reviewFormElement->setReviewFormId($this->reviewFormId);
         $reviewFormElement->setSequence(REALLY_BIG_NUMBER);
     }
     $reviewFormElement->setQuestion($this->getData('question'), null);
     // Localized
     $reviewFormElement->setRequired($this->getData('required') ? 1 : 0);
     $reviewFormElement->setIncluded($this->getData('included') ? 1 : 0);
     $reviewFormElement->setElementType($this->getData('elementType'));
     if (in_array($this->getData('elementType'), ReviewFormElement::getMultipleResponsesElementTypes())) {
         $this->setData('possibleResponsesProcessed', $reviewFormElement->getPossibleResponses(null));
         ListbuilderHandler::unpack($request, $this->getData('possibleResponses'), array($this, 'deleteEntry'), array($this, 'insertEntry'), array($this, 'updateEntry'));
         $reviewFormElement->setPossibleResponses($this->getData('possibleResponsesProcessed'), null);
     } else {
         $reviewFormElement->setPossibleResponses(null, null);
     }
     if ($reviewFormElement->getId()) {
         $reviewFormElementDao->deleteSetting($reviewFormElement->getId(), 'possibleResponses');
         $reviewFormElementDao->updateObject($reviewFormElement);
     } else {
         $this->reviewFormElementId = $reviewFormElementDao->insertObject($reviewFormElement);
         $reviewFormElementDao->resequenceReviewFormElements($this->reviewFormId);
     }
     return $this->reviewFormElementId;
 }
开发者ID:PublishingWithoutWalls,项目名称:pkp-lib,代码行数:42,代码来源:ReviewFormElementForm.inc.php


示例10: getRowInstance

 /**
  * @see ListbuilderHandler::getRowInstance()
  */
 protected function getRowInstance()
 {
     $row = parent::getRowInstance();
     // Currently we can't/don't need to delete a row inside multiple
     // lists listbuilder. If we need, we have to adapt this class
     // and its js handler.
     $row->setHasDeleteItemLink(false);
     return $row;
 }
开发者ID:jprk,项目名称:pkp-lib,代码行数:12,代码来源:MultipleListsListbuilderHandler.inc.php


示例11: execute

 /**
  * @copydoc ContextSettingsForm::execute()
  */
 function execute($request)
 {
     parent::execute($request);
     // Save block plugins context positions.
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     ListbuilderHandler::unpack($request, $request->getUserVar('blocks'));
     // Activate the selected theme plugin
     $context = $request->getContext();
     $themePlugins = PluginRegistry::loadCategory('themes');
     $selectedThemePluginPath = $this->getData('themePluginPath');
     $selectedThemePlugin = null;
     foreach ($themePlugins as $themePlugin) {
         if (basename($themePlugin->getPluginPath()) != $selectedThemePluginPath) {
             if ($themePlugin->getEnabled()) {
                 $themePlugin->setEnabled(false);
             }
         } else {
             $selectedThemePlugin = $themePlugin;
         }
     }
     if ($selectedThemePlugin) {
         // Activate the selected theme to trigger a CSS recompile.
         $selectedThemePlugin->setEnabled(true);
     } else {
         assert(false);
         // Couldn't identify the selected theme plugin
     }
 }
开发者ID:doana,项目名称:pkp-lib,代码行数:31,代码来源:AppearanceForm.inc.php


示例12: execute


//.........这里部分代码省略.........
         $series = $seriesDao->getById($this->getSeriesId(), $press->getId());
     } else {
         $series = $seriesDao->newDataObject();
         $series->setPressId($press->getId());
     }
     // Populate/update the series object from the form
     $series->setPath($this->getData('path'));
     $series->setFeatured($this->getData('featured'));
     $series->setTitle($this->getData('title'), null);
     // Localized
     $series->setDescription($this->getData('description'), null);
     // Localized
     $series->setPrefix($this->getData('prefix'), null);
     // Localized
     $series->setSubtitle($this->getData('subtitle'), null);
     // Localized
     $series->setEditorRestricted($this->getData('restricted'));
     $series->setOnlineISSN($this->getData('onlineIssn'));
     $series->setPrintISSN($this->getData('printIssn'));
     $series->setSortOption($this->getData('sortOption'));
     // Insert or update the series in the DB
     if ($this->getSeriesId()) {
         $seriesDao->updateObject($series);
     } else {
         $this->setSeriesId($seriesDao->insertObject($series));
     }
     // Handle the image upload if there was one.
     if ($temporaryFileId = $this->getData('temporaryFileId')) {
         // Fetch the temporary file storing the uploaded library file
         $temporaryFileDao = DAORegistry::getDAO('TemporaryFileDAO');
         $temporaryFile = $temporaryFileDao->getTemporaryFile($temporaryFileId, $this->_userId);
         $temporaryFilePath = $temporaryFile->getFilePath();
         import('lib.pkp.classes.file.ContextFileManager');
         $pressFileManager = new ContextFileManager($press->getId());
         $basePath = $pressFileManager->getBasePath() . '/series/';
         // Delete the old file if it exists
         $oldSetting = $series->getImage();
         if ($oldSetting) {
             $pressFileManager->deleteFile($basePath . $oldSetting['thumbnailName']);
             $pressFileManager->deleteFile($basePath . $oldSetting['name']);
         }
         // The following variables were fetched in validation
         assert($this->_sizeArray && $this->_imageExtension);
         // Generate the surrogate image.
         switch ($this->_imageExtension) {
             case '.jpg':
                 $image = imagecreatefromjpeg($temporaryFilePath);
                 break;
             case '.png':
                 $image = imagecreatefrompng($temporaryFilePath);
                 break;
             case '.gif':
                 $image = imagecreatefromgif($temporaryFilePath);
                 break;
             default:
                 $image = null;
                 // Suppress warn
         }
         assert($image);
         $coverThumbnailsMaxWidth = $press->getSetting('coverThumbnailsMaxWidth');
         $coverThumbnailsMaxHeight = $press->getSetting('coverThumbnailsMaxHeight');
         $thumbnailFilename = $series->getId() . '-series-thumbnail' . $this->_imageExtension;
         $xRatio = min(1, $coverThumbnailsMaxWidth / $this->_sizeArray[0]);
         $yRatio = min(1, $coverThumbnailsMaxHeight / $this->_sizeArray[1]);
         $ratio = min($xRatio, $yRatio);
         $thumbnailWidth = round($ratio * $this->_sizeArray[0]);
         $thumbnailHeight = round($ratio * $this->_sizeArray[1]);
         $thumbnail = imagecreatetruecolor($thumbnailWidth, $thumbnailHeight);
         imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $thumbnailWidth, $thumbnailHeight, $this->_sizeArray[0], $this->_sizeArray[1]);
         // Copy the new file over
         $filename = $series->getId() . '-series' . $this->_imageExtension;
         $pressFileManager->copyFile($temporaryFile->getFilePath(), $basePath . $filename);
         switch ($this->_imageExtension) {
             case '.jpg':
                 imagejpeg($thumbnail, $basePath . $thumbnailFilename);
                 break;
             case '.png':
                 imagepng($thumbnail, $basePath . $thumbnailFilename);
                 break;
             case '.gif':
                 imagegif($thumbnail, $basePath . $thumbnailFilename);
                 break;
         }
         imagedestroy($thumbnail);
         imagedestroy($image);
         $series->setImage(array('name' => $filename, 'width' => $this->_sizeArray[0], 'height' => $this->_sizeArray[1], 'thumbnailName' => $thumbnailFilename, 'thumbnailWidth' => $thumbnailWidth, 'thumbnailHeight' => $thumbnailHeight, 'uploadName' => $temporaryFile->getOriginalFileName(), 'dateUploaded' => Core::getCurrentDate()));
         // Clean up the temporary file
         import('lib.pkp.classes.file.TemporaryFileManager');
         $temporaryFileManager = new TemporaryFileManager();
         $temporaryFileManager->deleteFile($temporaryFileId, $this->_userId);
     }
     // Update series object to store image information.
     $seriesDao->updateObject($series);
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     // Save the series editor associations.
     ListbuilderHandler::unpack($request, $this->getData('subEditors'), array(&$this, 'deleteSubEditorEntry'), array(&$this, 'insertSubEditorEntry'), array(&$this, 'updateSubEditorEntry'));
     // Save the category associations.
     ListbuilderHandler::unpack($request, $this->getData('categories'), array(&$this, 'deleteCategoryEntry'), array(&$this, 'insertCategoryEntry'), array(&$this, 'updateCategoryEntry'));
     return true;
 }
开发者ID:NateWr,项目名称:omp,代码行数:101,代码来源:SeriesForm.inc.php


示例13: readInputData

 /**
  * @copydoc Form::readInputData()
  */
 function readInputData($request)
 {
     $this->readUserVars(array('message', 'users', 'template'));
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     $userData = $this->getData('users');
     ListbuilderHandler::unpack($request, $userData);
 }
开发者ID:mczirfusz,项目名称:pkp-lib,代码行数:10,代码来源:PKPStageParticipantNotifyForm.inc.php


示例14: execute

 /**
  * @copydoc Form::execute()
  * @param $request PKPRequest
  */
 function execute($request)
 {
     $queryDao = DAORegistry::getDAO('QueryDAO');
     $query = $this->getQuery();
     $headNote = $query->getHeadNote();
     $headNote->setTitle($this->getData('subject'));
     $headNote->setContents($this->getData('comment'));
     $noteDao = DAORegistry::getDAO('NoteDAO');
     $noteDao->updateObject($headNote);
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     ListbuilderHandler::unpack($request, $this->getData('users'));
     $queryDao->updateObject($query);
     // Notify the users of a new query.
     $notificationManager = new NotificationManager();
     $user = $request->getUser();
     foreach ($queryDao->getParticipantIds($query->getId()) as $userId) {
         // Skip sending a message to the current user.
         if ($user->getId() == $userId) {
             continue;
         }
         $notificationManager->createNotification($request, $userId, NOTIFICATION_TYPE_NEW_QUERY, $request->getContext()->getId(), ASSOC_TYPE_QUERY, $query->getId(), NOTIFICATION_LEVEL_TASK);
     }
 }
开发者ID:selwyntcy,项目名称:pkp-lib,代码行数:27,代码来源:QueryForm.inc.php


示例15: execute

 /**
  * @copydoc ContextSettingsForm::execute()
  */
 function execute($request)
 {
     // Clear the template cache if theme has changed
     $context = $request->getContext();
     if ($this->getData('themePluginPath') != $context->getSetting('themePluginPath')) {
         $templateMgr = TemplateManager::getManager($request);
         $templateMgr->clearTemplateCache();
         $templateMgr->clearCssCache();
     }
     parent::execute($request);
     // Save block plugins context positions.
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     ListbuilderHandler::unpack($request, $request->getUserVar('blocks'), array($this, 'deleteEntry'), array($this, 'insertEntry'), array($this, 'updateEntry'));
 }
开发者ID:jprk,项目名称:pkp-lib,代码行数:17,代码来源:PKPAppearanceForm.inc.php


示例16: execute

 /**
  * @copydoc Form::execute()
  * @param $request PKPRequest
  */
 function execute($request)
 {
     $queryDao = DAORegistry::getDAO('QueryDAO');
     $query = $this->getQuery();
     $headNote = $query->getHeadNote();
     $headNote->setTitle($this->getData('subject'));
     $headNote->setContents($this->getData('comment'));
     $noteDao = DAORegistry::getDAO('NoteDAO');
     $noteDao->updateObject($headNote);
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     ListbuilderHandler::unpack($request, $this->getData('users'));
     $queryDao->updateObject($query);
 }
开发者ID:mczirfusz,项目名称:pkp-lib,代码行数:17,代码来源:QueryForm.inc.php


示例17: readInputData

 /**
  * @copydoc Form::readInputData()
  */
 function readInputData($request)
 {
     $this->readUserVars(array('message', 'users', 'template'));
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     $this->setData('userIds', array($request->getUserVar('userId')));
     $userData = $this->getData('users');
     ListbuilderHandler::unpack($request, $userData, array($this, 'deleteEntry'), array($this, 'insertEntry'), array($this, 'updateEntry'));
 }
开发者ID:PublishingWithoutWalls,项目名称:pkp-lib,代码行数:11,代码来源:PKPStageParticipantNotifyForm.inc.php


示例18: execute

 /**
  * @copydoc Form::execute()
  */
 function execute($request)
 {
     $site = $request->getSite();
     $site->updateSetting('categoriesEnabled', (int) $this->getData('categoriesEnabled'));
     ListbuilderHandler::unpack($request, $this->getData('categories'));
 }
开发者ID:mosvits,项目名称:ojs,代码行数:9,代码来源:CategorySettingsForm.inc.php


示例19: execute

 /**
  * Save section.
  * @param $args array
  * @param $request PKPRequest
  */
 function execute($args, $request)
 {
     $sectionDao = DAORegistry::getDAO('SectionDAO');
     $journal = $request->getJournal();
     // Get or create the section object
     if ($this->getSectionId()) {
         $section = $sectionDao->getById($this->getSectionId(), $journal->getId());
     } else {
         import('classes.journal.Section');
         $section = $sectionDao->newDataObject();
         $section->setJournalId($journal->getId());
     }
     // Populate/update the section object from the form
     $section->setTitle($this->getData('title'), null);
     // Localized
     $section->setAbbrev($this->getData('abbrev'), null);
     // Localized
     $reviewFormId = $this->getData('reviewFormId');
     if ($reviewFormId === '') {
         $reviewFormId = null;
     }
     $section->setReviewFormId($reviewFormId);
     $section->setMetaIndexed($this->getData('metaIndexed') ? 0 : 1);
     // #2066: Inverted
     $section->setMetaReviewed($this->getData('metaReviewed') ? 0 : 1);
     // #2066: Inverted
     $section->setAbstractsNotRequired($this->getData('abstractsNotRequired') ? 1 : 0);
     $section->setIdentifyType($this->getData('identifyType'), null);
     // Localized
     $section->setEditorRestricted($this->getData('editorRestriction') ? 1 : 0);
     $section->setHideTitle($this->getData('hideTitle') ? 1 : 0);
     $section->setHideAuthor($this->getData('hideAuthor') ? 1 : 0);
     $section->setHideAbout($this->getData('hideAbout') ? 1 : 0);
     $section->setPolicy($this->getData('policy'), null);
     // Localized
     $section->setAbstractWordCount($this->getData('wordCount'));
     $section = parent::execute($section);
     // Insert or update the section in the DB
     if ($this->getSectionId()) {
         $sectionDao->updateObject($section);
     } else {
         $section->setSequence(REALLY_BIG_NUMBER);
         $this->setSectionId($sectionDao->insertObject($section));
         $sectionDao->resequenceSections($journal->getId());
     }
     import('lib.pkp.classes.controllers.listbuilder.ListbuilderHandler');
     // Save the section editor associations.
     ListbuilderHandler::unpack($request, $this->getData('subEditors'), array(&$this, 'deleteSubEditorEntry'), array(&$this, 'insertSubEditorEntry'), array(&$this, 'updateSubEditorEntry'));
     return true;
 }
开发者ID:mariojp,项目名称:ojs,代码行数:55,代码来源:SectionForm.inc.php


示例20: fetch

 /**
  * Need to add additional data to the template via the fetch method
  * @see Form::fetch()
  * @param $args array
  * @param $request PKPRequest
  */
 function fetch($args, &$request)
 {
     $router =& $request->getRouter();
     $monographId = $request->getUserVar('monographId');
     $additionalVars = array('monographId' => $monographId, 'addUrl' => $router->url($request, array(), null, 'addItem', null, array('monographId' => $monographId)), 'deleteUrl' => $router->url($request, array(), null, 'deleteItems', null, array('monographId' => $monographId)));
     return parent::fetch($args, &$request, $additionalVars);
 }
开发者ID:ramonsodoma,项目名称:omp,代码行数:13,代码来源:NotifyUsersListbuilderHandler.inc.php



注:本文中的ListbuilderHandler类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Listing类代码示例发布时间:2022-05-23
下一篇:
PHP ListboxField类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap