IMP_Prefs_Identity::verify PHP Méthode

verify() public méthode

Verifies and sanitizes all identity properties.
public verify ( integer $identity = null )
$identity integer The identity to verify.
    public function verify($identity = null)
    {
        if (!isset($identity)) {
            $identity = $this->getDefault();
        }
        /* Fill missing IMP preferences with default values. */
        foreach ($this->_impPrefs as $pref) {
            if (!isset($this->_identities[$identity][$pref])) {
                $this->_identities[$identity][$pref] = $this->_prefs->getValue($pref);
            }
        }
        parent::verify($identity);
    }