Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
06af44fb
Commit
06af44fb
authored
Sep 11, 2018
by
Carsten Rose
Browse files
Add phpdoc definitions.
parent
7b1eae8a
Pipeline
#861
passed with stage
in 1 minute and 35 seconds
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/external/AutoCron.php
View file @
06af44fb
...
...
@@ -147,6 +147,7 @@ class AutoCron {
* @return array $job, updated with AUTOCRON_LAST_STATUS
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
private
function
doJobWebsite
(
array
$job
)
{
...
...
@@ -223,6 +224,9 @@ class AutoCron {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private
function
doJobMail
(
array
$job
)
{
...
...
extension/qfq/qfq/AbstractBuildForm.php
View file @
06af44fb
...
...
@@ -3570,6 +3570,9 @@ abstract class AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
buildFieldset
(
array
$formElement
,
$htmlFormElementName
,
$value
,
array
&
$json
,
$mode
=
FORM_LOAD
)
{
$attribute
=
''
;
...
...
@@ -3641,6 +3644,9 @@ abstract class AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
buildTemplateGroup
(
array
$formElement
,
$htmlFormElementName
,
$value
,
array
&
$json
,
$mode
=
FORM_LOAD
)
{
$attribute
=
''
;
...
...
@@ -3758,6 +3764,9 @@ EOT;
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private
function
templateGroupCollectFilledElements
(
$max
,
$htmlDelete
,
array
&
$json
)
{
...
...
extension/qfq/qfq/BuildFormBootstrap.php
View file @
06af44fb
...
...
@@ -855,8 +855,12 @@ EOF;
* formElement.dynamicUpdate-yes values/states
* @throws CodeException
* @throws DbException
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
process
(
$mode
,
$htmlElementNameIdZero
=
false
,
$latestFeSpecNative
=
array
())
{
...
...
extension/qfq/qfq/BuildFormPlain.php
View file @
06af44fb
...
...
@@ -68,6 +68,9 @@ class BuildFormPlain extends AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
doSubrecords
()
{
$json
=
array
();
...
...
extension/qfq/qfq/BuildFormTable.php
View file @
06af44fb
...
...
@@ -71,6 +71,9 @@ class BuildFormTable extends AbstractBuildForm {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
doSubrecords
()
{
//TODO: $json is not returned - which is wrong. In this case, dynamic update won't work for subrecords
...
...
extension/qfq/qfq/QuickFormQuery.php
View file @
06af44fb
...
...
@@ -320,6 +320,9 @@ class QuickFormQuery {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
private
function
doForm
(
$formMode
)
{
$data
=
''
;
...
...
extension/qfq/qfq/database/Database.php
View file @
06af44fb
...
...
@@ -804,6 +804,7 @@ class Database {
$this
->
sql
(
"TRUNCATE
$table
"
);
}
}
/**
* Depending on $sql reads FormElements to a specific container or all. Preprocess all FormElements.
*
...
...
@@ -815,6 +816,7 @@ class Database {
* @throws CodeException
* @throws DbException
* @throws UserFormException
* @throws UserReportException
*/
public
function
getNativeFormElements
(
$sql
,
array
$param
,
$formSpec
)
{
...
...
extension/qfq/qfq/form/FormAction.php
View file @
06af44fb
...
...
@@ -78,6 +78,9 @@ class FormAction {
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/
public
function
elements
(
$recordId
,
array
$feSpecAction
,
$feTypeList
)
{
...
...
extension/qfq/qfq/store/FillStoreForm.php
View file @
06af44fb
...
...
@@ -77,6 +77,7 @@ class FillStoreForm {
* @throws CodeException
* @throws DbException
* @throws UserFormException
* @throws UserReportException
*/
private
function
loadFormElementsBasedOnSIP
()
{
...
...
extension/qfq/tests/phpunit/DirtyTest.php
View file @
06af44fb
...
...
@@ -1019,7 +1019,8 @@ class DirtyTest extends \AbstractDatabaseTest {
/**
* Clear Session to have a new clean environment
*
* @param $cookie
* @param string $cookie
* @throws \qfq\CodeException
*/
private
function
clean
(
$cookie
=
''
)
{
...
...
extension/qfq/tests/phpunit/SipTest.php
View file @
06af44fb
...
...
@@ -68,6 +68,7 @@ class SipTest extends TestCase {
/**
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
public
function
testGetVarsFromSip
()
{
$sip
=
new
Sip
(
'fakesessionname'
,
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment