PATH:
home
/
letacommog
/
bresse-paysage
/
wp-content
/
plugins
/
wordpress-seo-premium
/
premium
/
classes
<?php /** * WPSEO Premium plugin file. * * @package WPSEO\Premium\Classes */ /** * Abstract class for different possible validation results. */ abstract class WPSEO_Validation_Result { /** * The validation message contained by the result. * * @var string */ protected $message; /** * The field that has the error. * * @var array */ private $fields = array(); /** * Gets the validation result type. * * @return string */ abstract public function get_type(); /** * Constructing the object. * * @param string $message The validation message contained by the result. * @param string|array $fields The fields that errored. */ public function __construct( $message, $fields = array() ) { $this->message = $message; $this->set_fields( $fields ); } /** * Gets the validation result message. * * @return string */ public function get_message() { return $this->message; } /** * Returns an Array representation of the validation result. * * @return array */ public function to_array() { return array( 'type' => $this->get_type(), 'message' => $this->message, 'fields' => $this->fields, ); } /** * Setting the fields with errors. * * @param string $fields The fields with errors on it. */ protected function set_fields( $fields = '' ) { if ( ! is_array( $fields ) && is_string( $fields ) ) { $fields = array( $fields ); } $this->fields = $fields; } }
[+]
..
[+]
export
[-] premium-prominent-words-endpoint.php
[edit]
[-] premium-prominent-words-service.php
[edit]
[-] premium-gsc-modal.php
[edit]
[-] upgrade-manager.php
[edit]
[-] premium-import-manager.php
[edit]
[-] premium-prominent-words-unindexed-post-query.php
[edit]
[+]
views
[-] validation-warning.php
[edit]
[-] validation-result.php
[edit]
[-] premium-redirect-export-manager.php
[edit]
[-] multi-keyword.php
[edit]
[-] premium-prominent-words-recalculation-notifier.php
[edit]
[-] premium-orphaned-post-notifier.php
[edit]
[-] premium-prominent-words-recalculation.php
[edit]
[-] premium-prominent-words-link-endpoint.php
[edit]
[-] premium-post-data-service.php
[edit]
[-] premium-prominent-words-language-support.php
[edit]
[-] product-premium.php
[edit]
[-] premium-javascript-strings.php
[edit]
[-] premium-redirect-service.php
[edit]
[-] premium-redirect-endpoint.php
[edit]
[-] premium-prominent-words-link-service.php
[edit]
[-] premium-free-translations.php
[edit]
[+]
redirect
[-] premium-prominent-words-recalculation-endpoint.php
[edit]
[-] premium-register-capabilities.php
[edit]
[-] premium-orphaned-post-query.php
[edit]
[-] custom-fields-plugin.php
[edit]
[-] premium-keyword-export-manager.php
[edit]
[-] premium-prominent-words-versioning.php
[edit]
[-] premium-post-data-endpoint.php
[edit]
[-] premium-prominent-words-recalculation-service.php
[edit]
[-] premium-orphaned-post-filter.php
[edit]
[-] facebook-profile.php
[edit]
[-] premium-autoloader.php
[edit]
[-] premium-stale-cornerstone-content-notification.php
[edit]
[-] premium-beacon-setting.php
[edit]
[-] watcher.php
[edit]
[-] premium-expose-shortlinks.php
[edit]
[-] premium-link-suggestions-service.php
[edit]
[-] premium-assets.php
[edit]
[-] term-watcher.php
[edit]
[-] premium-metabox.php
[edit]
[-] metabox-link-suggestions.php
[edit]
[-] premium-gsc.php
[edit]
[-] premium-stale-cornerstone-content-filter.php
[edit]
[-] post-watcher.php
[edit]
[-] validation-error.php
[edit]
[-] premium-asset-js-l10n.php
[edit]
[-] social-previews.php
[edit]
[-] premium-prominent-words-registration.php
[edit]
[-] premium-prominent-words-support.php
[edit]
[-] premium-orphaned-content-utils.php
[edit]
[-] premium-link-suggestions-endpoint.php
[edit]
[-] premium-orphaned-content-support.php
[edit]