Back to PasswordField class

Method getLayoutData

protected array
getLayoutData
()
Method to get the data to be passed to the layout for rendering.
Returns
  • array
Since
  • 3.7
Class: PasswordField
Project: Joomla

Method getLayoutData - Source code

/**
 * Method to get the data to be passed to the layout for rendering.
 *
 * @return  array
 *
 * @since 3.7
 */
protected function getLayoutData()
{
    $data = parent::getLayoutData();
    // Initialize some field attributes.
    $extraData = array('lock' => $this->lock, 'maxLength' => $this->maxLength, 'meter' => $this->meter, 'threshold' => $this->threshold, 'minLength' => $this->minLength, 'minIntegers' => $this->minIntegers, 'minSymbols' => $this->minSymbols, 'minUppercase' => $this->minUppercase, 'minLowercase' => $this->minLowercase, 'forcePassword' => $this->force, 'rules' => $this->rules);
    return array_merge($data, $extraData);
}
OSZAR »