public static function permalink($input, $field_name = 'permalink')
    {
        //Define trivial model
        $model = [
            $field_name => ['type' => Validate::TYPE_PERMALINK, Validate::REQUIRED]
        ];

        $parameters = [$field_name => $input];
        Validate::model($parameters, $model);

        return $parameters[$field_name];
    }