/** * Gets the default send period for post * * @param Bronto_Reviews_Model_Post_Purchase $post * @param int $storeId * @return int */ public function getDefaultPostPeriod($post, $storeId = 0) { if (is_null($post->getPeriod())) { return $this->getPostPeriod($post->getPostType(), 'store', $storeId); } return (int) $post->getPeriod(); }