PHP Class UserDAO, ojs

Datei anzeigen Open project: pkp/ojs Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
newDataObject ( ) : User Construct a new User object.
renewMembership ( &$user ) Renew a membership to dateEnd + 1 year if the was expired, renew to current date + 1 year

Method Details

__construct() public method

Constructor.
public __construct ( )

newDataObject() public method

Construct a new User object.
public newDataObject ( ) : User
return User

renewMembership() public method

Renew a membership to dateEnd + 1 year if the was expired, renew to current date + 1 year
public renewMembership ( &$user )
$user User