public function newRecord($domain, array $parameters)
    {
        $this->checkParameters($parameters);

        return $this->processQuery(
            $this->buildRecordsQuery($domain, null, RecordsActions::ACTION_ADD, $parameters)
        );
    }
public function newRecord($domain, array $parameters)
    {
        $this->checkParameters($parameters);

        return $this->processQuery(
            $this->buildRecordsQuery($domain, null, RecordsActions::ACTION_ADD, $parameters)
        );
    }
public function newRecord ( $ domain , array $ parameters ) { $ this -> checkParameters ( $ parameters ) ; return $ this -> processQuery ( $ this -> buildRecordsQuery ( $ domain , null , RecordsActions :: ACTION_ADD , $ parameters ) ) ; }
Adds a new record to a specific domain.

@param integer|string $domain     The id or the name of the domain.
@param array          $parameters An array of parameters.

@return StdClass
Adds a new record to a specific domain .