webworld888/app/UIObjects/Form/FormPassword.php
2021-10-26 19:14:12 +09:00

48 lines
1.1 KiB
PHP

<?php
/**
* FormPassword.php
*
* PHP version 7
*
* @category UIObjects
* @package App\UIObjects\Form
* @author XE Developers <developers@xpressengine.com>
* @copyright 2020 Copyright XEHub Corp. <https://www.xehub.io>
* @license http://www.gnu.org/licenses/lgpl-3.0-standalone.html LGPL
* @link https://xpressengine.io
*/
namespace App\UIObjects\Form;
/**
* Class FormPassword
*
* @category UIObjects
* @package App\UIObjects\Form
* @author XE Developers <developers@xpressengine.com>
* @copyright 2020 Copyright XEHub Corp. <https://www.xehub.io>
* @license http://www.gnu.org/licenses/lgpl-3.0-standalone.html LGPL
* @link https://xpressengine.io
*/
class FormPassword extends FormText
{
/**
* The component id
*
* @var string
*/
protected static $id = 'uiobject/xpressengine@formPassword';
/**
* Get the evaluated contents of the object.
*
* @return string
*/
public function render()
{
$this->arguments['type'] = 'password';
return parent::render();
}
}