Class Socialveo\Frontend\forms\Network

InheritanceSocialveo\Frontend\forms\Network » Socialveo\Core\forms\SocialveoForm » Phalcon\Forms\Form
ImplementsSocialveo\Core\forms\SocialveoAjaxForm
Uses TraitsSocialveo\Core\Translatable

Class Network

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
addField() Add form field Socialveo\Frontend\forms\Network
getConfig() Get config Socialveo\Frontend\forms\Network
initCustomFields() Init custom fields Socialveo\Frontend\forms\Network
renderView() Renders partial view without layout Socialveo\Core\forms\SocialveoForm

Property Details

$createViewPath protected property
protected string $createViewPath 'includes/modals/network/create-network.volt'
$customFields public property
$editViewPath protected property
protected string $editViewPath 'includes/modals/network/edit-network.volt'
$updateFields protected property
protected array $updateFields = []

Method Details

addField() protected method

Add form field

protected Phalcon\Forms\Element addField ( $fieldName, $options = [] )
$fieldName string
$options array

[optional]

throws Exception
getConfig() protected method

Get config

protected array|mixed getConfig ( $name null )
$name string
getValue() public method

Get value from entity

public mixed getValue ( $attribute )
$attribute string
getView() public method

Get form view

public string getView ( )
initCustomFields() protected method

Init custom fields

protected void initCustomFields ( )
initialize() public method

Initialize form

public void initialize ( )
throws Exception
isValid() public method

Validates the form

public boolean isValid ( $data null, $entity null )
$data array
$entity object
load() public method

Load form

public void load ( $data )
$data array
throws Exception