FluidTYPO3\Vhs\ViewHelpers\Media\GravatarViewHelper::initializeArguments PHP Méthode

initializeArguments() public méthode

Size argument has no default value to prevent the creation of an unnecessary URI parameter.
public initializeArguments ( ) : void
Résultat void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerUniversalTagAttributes();
        $this->registerArgument('email', 'string', 'Email address', true);
        $this->registerArgument('size', 'integer', 'Size in pixels, defaults to 80px [ 1 - 2048 ]');
        $this->registerArgument('imageSet', 'string', 'Default image set to use. Possible values [ 404 | mm | identicon | monsterid | wavatar ] ');
        $this->registerArgument('maximumRating', 'string', 'Maximum rating (inclusive) [ g | pg | r | x ]');
        $this->registerArgument('secure', 'boolean', 'If it is FALSE will return the un secure Gravatar domain (www.gravatar.com)', false, true);
    }