src/libraries/adapters/DatabaseSimpleDb.php
/**
    * Add a new credential to the database
    * This method does not overwrite existing values present in $params - hence "new credential".
    *
    * @param string $id ID of the credential to update which is always 1.
    * @param array $params Attributes to update.
    * @return boolean
    */
Add a new credential to the database
This method does not overwrite existing values present in $params - hence "new credential".

@param string $id ID of the credential to update which is always 1.
@param array $params Attributes to update.
@return boolean
Add a new credential to the database This method does not overwrite existing values present in $params - hence " new credential " . @param string $id ID of the credential to update which is always 1 . @param array $params Attributes to update . @return boolean
public function putCredential($id, $params)
  {
    $res = $this->db->put_attributes($this->domainCredential, $id, $params);
    $this->logErrors($res);
    return $res->isOK();
  }
public function putCredential ( $ id , $ params ) { $ res = $ this -> db -> put_attributes ( $ this -> domainCredential , $ id , $ params ) ; $ this -> logErrors ( $ res ) ; return $ res -> isOK ( ) ; }
Add a new credential to the database
 This method does not overwrite existing values present in $params - hence "new credential".
Add a new credential to the database This method does not overwrite existing values present in $params - hence " new credential " .