public function input($options = array())
    {
        $options = new AnConfig($options);
        $options->append(array(
            'id' => 'person-password',
            'name' => 'password',
            'class' => 'input-block-level',
            'required' => 'required',
            'minlength' => ComPeopleFilterPassword::$MIN_LENGTH,
        ));

        $html = $this->getService('com:base.template.helper.html');

        return $html->passwordfield($options['name'], $options)
                    ->class($options['class'])
                    ->id($options['id'])
                    ->required($options['required'])
                    ->minlength($options['minlength']);
    }
public function input($options = array())
    {
        $options = new AnConfig($options);
        $options->append(array(
            'id' => 'person-password',
            'name' => 'password',
            'class' => 'input-block-level',
            'required' => 'required',
            'minlength' => ComPeopleFilterPassword::$MIN_LENGTH,
        ));

        $html = $this->getService('com:base.template.helper.html');

        return $html->passwordfield($options['name'], $options)
                    ->class($options['class'])
                    ->id($options['id'])
                    ->required($options['required'])
                    ->minlength($options['minlength']);
    }
public function input ( $ options = array ( ) ) { $ options = new AnConfig ( $ options ) ; $ options -> append ( array ( 'id' => 'person-password' , 'name' => 'password' , 'class' => 'input-block-level' , 'required' => 'required' , 'minlength' => ComPeopleFilterPassword :: $ MIN_LENGTH , ) ) ; $ html = $ this -> getService ( 'com:base.template.helper.html' ) ; return $ html -> passwordfield ( $ options [ 'name' ] , $ options ) -> class ( $ options [ 'class' ] ) -> id ( $ options [ 'id' ] ) -> required ( $ options [ 'required' ] ) -> minlength ( $ options [ 'minlength' ] ) ; }
Renders a password input with the validation.

@param bool $required A boolean flag whether the password is
required or not
Renders a password input with the validation .