AthensFramework/core

View on GitHub
doc/api/Athens-Core-PickA-PickAForm.md

Summary

Maintainability
Test Coverage
Athens\Core\PickA\PickAForm
===============

Class PickAForm




* Class name: PickAForm
* Namespace: Athens\Core\PickA
* This class implements: [Athens\Core\PickA\PickAFormInterface](Athens-Core-PickA-PickAFormInterface.md)






Methods
-------


### getType

    string Athens\Core\Form\FormInterface::getType()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getMethod

    string Athens\Core\Form\FormInterface::getMethod()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getTarget

    string Athens\Core\Form\FormInterface::getTarget()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getSelectedSlug

    string Athens\Core\PickA\PickAFormInterface::getSelectedSlug()





* Visibility: **public**
* This method is defined by [Athens\Core\PickA\PickAFormInterface](Athens-Core-PickA-PickAFormInterface.md)




### getSelectedForm

    \Athens\Core\Form\FormInterface Athens\Core\PickA\PickAFormInterface::getSelectedForm()





* Visibility: **public**
* This method is defined by [Athens\Core\PickA\PickAFormInterface](Athens-Core-PickA-PickAFormInterface.md)




### isValid

    boolean Athens\Core\Form\FormInterface::isValid()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### propagateOnValid

    void Athens\Core\Form\FormInterface::propagateOnValid()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### onValid

    void Athens\Core\Form\FormInterface::onValid()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### onInvalid

    void Athens\Core\Form\FormInterface::onInvalid()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getId

    string Athens\Core\Writer\WritableInterface::getId()

Return a unique identifier that will be consistent between requests.



* Visibility: **public**
* This method is defined by [Athens\Core\Writer\WritableInterface](Athens-Core-Writer-WritableInterface.md)




### getFieldBearer

    \Athens\Core\FieldBearer\FieldBearerInterface Athens\Core\Form\FormInterface::getFieldBearer()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getErrors

    array<mixed,string> Athens\Core\Form\FormInterface::getErrors()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getManifest

    array Athens\Core\PickA\PickAInterface::getManifest()





* Visibility: **public**
* This method is defined by [Athens\Core\PickA\PickAInterface](Athens-Core-PickA-PickAInterface.md)




### getLabels

    array<mixed,string> Athens\Core\PickA\PickAInterface::getLabels()





* Visibility: **public**
* This method is defined by [Athens\Core\PickA\PickAInterface](Athens-Core-PickA-PickAInterface.md)




### getWritables

    array<mixed,\Athens\Core\Writer\WritableInterface> Athens\Core\PickA\PickAInterface::getWritables()





* Visibility: **public**
* This method is defined by [Athens\Core\PickA\PickAInterface](Athens-Core-PickA-PickAInterface.md)




### getSubForms

    array<mixed,\Athens\Core\Form\FormInterface> Athens\Core\Form\FormInterface::getSubForms()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### getSubFormByName

    \Athens\Core\Form\FormInterface Athens\Core\Form\FormInterface::getSubFormByName(string $name)





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)


#### Arguments
* $name **string**



### getActions

    array<mixed,\Athens\Core\Form\FormAction\FormAction> Athens\Core\Form\FormInterface::getActions()





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)




### addError

    void Athens\Core\Form\FormInterface::addError(string $error)





* Visibility: **public**
* This method is defined by [Athens\Core\Form\FormInterface](Athens-Core-Form-FormInterface.md)


#### Arguments
* $error **string**



### __construct

    mixed Athens\Core\PickA\PickAForm::__construct(string $id, array<mixed,string> $classes, array<mixed,string> $data, string $type, string $method, string $target, array $manifest, array|null $actions)





* Visibility: **public**


#### Arguments
* $id **string**
* $classes **array&lt;mixed,string&gt;**
* $data **array&lt;mixed,string&gt;**
* $type **string**
* $method **string**
* $target **string**
* $manifest **array**
* $actions **array|null**



### __call

    void Athens\Core\PickA\PickAForm::__call(string $name, array $arguments)





* Visibility: **public**


#### Arguments
* $name **string**
* $arguments **array**



### accept

    mixed Athens\Core\Visitor\VisitableInterface::accept(\Athens\Core\Visitor\Visitor $visitor)

Accept a visitor, per the Visitor pattern.



* Visibility: **public**
* This method is defined by [Athens\Core\Visitor\VisitableInterface](Athens-Core-Visitor-VisitableInterface.md)


#### Arguments
* $visitor **[Athens\Core\Visitor\Visitor](Athens-Core-Visitor-Visitor.md)**



### getClasses

    array<mixed,string> Athens\Core\Writer\WritableInterface::getClasses()





* Visibility: **public**
* This method is defined by [Athens\Core\Writer\WritableInterface](Athens-Core-Writer-WritableInterface.md)




### getData

    array<mixed,string> Athens\Core\Writer\WritableInterface::getData()





* Visibility: **public**
* This method is defined by [Athens\Core\Writer\WritableInterface](Athens-Core-Writer-WritableInterface.md)