‪TYPO3CMS  10.4
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 {
33 
40  public function ‪load(string $persistenceIdentifier): array;
41 
48  public function ‪save(string $persistenceIdentifier, array $formDefinition);
49 
56  public function ‪exists(string $persistenceIdentifier): bool;
57 
63  public function delete(string $persistenceIdentifier);
64 
74  public function ‪listForms(): array;
75 
81  public function ‪getAccessibleFormStorageFolders(): array;
82 
88  public function ‪getAccessibleExtensionFolders(): array;
89 
97  public function ‪getUniquePersistenceIdentifier(string $formIdentifier, string $savePath): string;
98 
105  public function ‪checkForDuplicateIdentifier(string $identifier): bool;
106 }
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getAccessibleFormStorageFolders
‪Folder[] getAccessibleFormStorageFolders()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getAccessibleExtensionFolders
‪array getAccessibleExtensionFolders()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\listForms
‪array listForms()
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\checkForDuplicateIdentifier
‪bool checkForDuplicateIdentifier(string $identifier)
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\load
‪array 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:37
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\getUniquePersistenceIdentifier
‪string getUniquePersistenceIdentifier(string $formIdentifier, string $savePath)
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface
Definition: FormPersistenceManagerInterface.php:32
‪TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface\save
‪save(string $persistenceIdentifier, array $formDefinition)