Horde_Prefs_Identity::add PHP 메소드

add() 공개 메소드

Adds a new identity to the array of identities.
public add ( array $identity = [] ) : integer
$identity array An identity hash to add.
리턴 integer The pointer to the created identity
    public function add($identity = array())
    {
        $this->_identities[] = $identity;
        return count($this->_identities) - 1;
    }