Horde_ActiveSync_Driver_Base::setup PHP Method

setup() public method

Setup sync parameters. The user provided here is the user the backend will sync with. This allows you to authenticate as one user, and sync as another, if the backend supports this.
public setup ( string $user ) : boolean
$user string The username to sync as on the backend.
return boolean
    public function setup($user)
    {
        $this->_user = $user;
        return true;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Setup sync parameters. The user provided here is the user the backend
  * will sync with. This allows you to authenticate as one user, and sync as
  * another, if the backend supports this (Horde does not).
  *
  * @param string $user      The username to sync as on the backend.
  *
  * @return boolean
  */
 public function setup($user)
 {
     parent::setup($user);
     $this->_modCache = array();
     return true;
 }