Model/UserIdentity.php
static public function getReadableType( $type )
    {
        switch ( $type )
        {
            case self::TYPE_GOOGLE:     return 'google';
            case self::TYPE_FACEBOOK:   return 'facebook';
            case self::TYPE_YAHOO:      return 'yahoo';
            case self::TYPE_TWITTER:    return 'twitter';
        }
    }
static public function getReadableType( $type )
    {
        switch ( $type )
        {
            case self::TYPE_GOOGLE:     return 'google';
            case self::TYPE_FACEBOOK:   return 'facebook';
            case self::TYPE_YAHOO:      return 'yahoo';
            case self::TYPE_TWITTER:    return 'twitter';
        }
    }
static public function getReadableType ( $ type ) { switch ( $ type ) { case self :: TYPE_GOOGLE : return 'google' ; case self :: TYPE_FACEBOOK : return 'facebook' ; case self :: TYPE_YAHOO : return 'yahoo' ; case self :: TYPE_TWITTER : return 'twitter' ; } }
Convert type to human-readable form

@param integer $type
@return string
Convert type to human - readable form