‪TYPO3CMS  ‪main
FormPersistenceManagerInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
18 /*
19  * Inspired by and partially taken from the Neos.Form package (www.neos.io)
20  */
21 
23 
25 
32 {
36  public function ‪load(string $persistenceIdentifier): array;
37 
41  public function ‪save(string $persistenceIdentifier, array $formDefinition);
42 
48  public function ‪exists(string $persistenceIdentifier): bool;
49 
53  public function delete(string $persistenceIdentifier);
54 
64  public function ‪listForms(): array;
65 
71  public function ‪getAccessibleFormStorageFolders(): array;
72 
76  public function ‪getAccessibleExtensionFolders(): array;
77 
81  public function ‪getUniquePersistenceIdentifier(string $formIdentifier, string $savePath): string;
82 
86  public function ‪checkForDuplicateIdentifier(string ‪$identifier): bool;
87 
91  public function ‪hasForms(): bool;
92 }
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getAccessibleFormStorageFolders
‪Folder[] getAccessibleFormStorageFolders()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getAccessibleExtensionFolders
‪getAccessibleExtensionFolders()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\listForms
‪array listForms()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\load
‪load(string $persistenceIdentifier)
‪TYPO3\CMS\Form\Mvc\Persistence
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\exists
‪bool exists(string $persistenceIdentifier)
‪TYPO3\CMS\Core\Resource\Folder
Definition: Folder.php:38
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getUniquePersistenceIdentifier
‪getUniquePersistenceIdentifier(string $formIdentifier, string $savePath)
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\checkForDuplicateIdentifier
‪checkForDuplicateIdentifier(string $identifier)
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface
Definition: FormPersistenceManagerInterface.php:32
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\save
‪save(string $persistenceIdentifier, array $formDefinition)
‪TYPO3\CMS\Webhooks\Message\$identifier
‪identifier readonly string $identifier
Definition: FileAddedMessage.php:37
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\hasForms
‪hasForms()