public function createRateLimitData($applicationId, $userId, $ip, $limitShort, $limitLong, $countShort, $countLong, $expiresShort, $expiresLong, $created)
	{
		$sql = "INSERT INTO `#__developer_rate_limit` (`application_id`, `uidNumber`, `ip`, `limit_short`, `limit_long`, `count_short`, `count_long`, `expires_short`, `expires_long`, `created`)
				VALUES (" . $this->db->quote($applicationId) . ", " . $this->db->quote($userId) . ", " . $this->db->quote($ip) . ", " . $this->db->quote($limitShort) . ", " . $this->db->quote($limitLong) . ", " . $this->db->quote($countShort) . ", " . $this->db->quote($countLong) . ", " . $this->db->quote($expiresShort) . ", " . $this->db->quote($expiresLong) . ", " . $this->db->quote($created) . ")";
		$this->db->setQuery($sql);
		$this->db->query();

		return $this->getRateLimitData($applicationId, $userId);
	}
public function createRateLimitData($applicationId, $userId, $ip, $limitShort, $limitLong, $countShort, $countLong, $expiresShort, $expiresLong, $created)
	{
		$sql = "INSERT INTO `#__developer_rate_limit` (`application_id`, `uidNumber`, `ip`, `limit_short`, `limit_long`, `count_short`, `count_long`, `expires_short`, `expires_long`, `created`)
				VALUES (" . $this->db->quote($applicationId) . ", " . $this->db->quote($userId) . ", " . $this->db->quote($ip) . ", " . $this->db->quote($limitShort) . ", " . $this->db->quote($limitLong) . ", " . $this->db->quote($countShort) . ", " . $this->db->quote($countLong) . ", " . $this->db->quote($expiresShort) . ", " . $this->db->quote($expiresLong) . ", " . $this->db->quote($created) . ")";
		$this->db->setQuery($sql);
		$this->db->query();

		return $this->getRateLimitData($applicationId, $userId);
	}
public function createRateLimitData ( $ applicationId , $ userId , $ ip , $ limitShort , $ limitLong , $ countShort , $ countLong , $ expiresShort , $ expiresLong , $ created ) { $ sql = "INSERT INTO `#__developer_rate_limit` (`application_id`, `uidNumber`, `ip`, `limit_short`, `limit_long`, `count_short`, `count_long`, `expires_short`, `expires_long`, `created`)
				VALUES (" . $ this -> db -> quote ( $ applicationId ) . ", " . $ this -> db -> quote ( $ userId ) . ", " . $ this -> db -> quote ( $ ip ) . ", " . $ this -> db -> quote ( $ limitShort ) . ", " . $ this -> db -> quote ( $ limitLong ) . ", " . $ this -> db -> quote ( $ countShort ) . ", " . $ this -> db -> quote ( $ countLong ) . ", " . $ this -> db -> quote ( $ expiresShort ) . ", " . $ this -> db -> quote ( $ expiresLong ) . ", " . $ this -> db -> quote ( $ created ) . ")" ; $ this -> db -> setQuery ( $ sql ) ; $ this -> db -> query ( ) ; return $ this -> getRateLimitData ( $ applicationId , $ userId ) ; }
Create initial rate limit record

@param   int     $applicationId  Application id
@param   int     $userId         User identifier
@param   string  $ip             IP address
@param   int     $limitShort     Short limit
@param   int     $limitLong      Long limit
@param   int     $countShort     Short count
@param   int     $countLong      Long count
@param   string  $expiresShort   Short expiration date string
@param   string  $expiresLong    Long expiration date string
@param   string  $created        Created date string
@return  void
Create initial rate limit record