function getBook( $blog_id ) {

		/** @var $wpdb \wpdb */
		global $wpdb;

		$sql = "SELECT * FROM {$this->dbTable} WHERE users_id = %d AND blogs_id = %d AND deleted = 0 ";

		return $wpdb->get_row( $wpdb->prepare( $sql, $this->userId, $blog_id ), ARRAY_A ); // @codingStandardsIgnoreLine
	}
function getBook( $blog_id ) {

		/** @var $wpdb \wpdb */
		global $wpdb;

		$sql = "SELECT * FROM {$this->dbTable} WHERE users_id = %d AND blogs_id = %d AND deleted = 0 ";

		return $wpdb->get_row( $wpdb->prepare( $sql, $this->userId, $blog_id ), ARRAY_A ); // @codingStandardsIgnoreLine
	}
function getBook ( $ blog_id ) { /** @var $wpdb \wpdb */ global $ wpdb ; $ sql = "SELECT * FROM {$this->dbTable} WHERE users_id = %d AND blogs_id = %d AND deleted = 0 " ; return $ wpdb -> get_row ( $ wpdb -> prepare ( $ sql , $ this -> userId , $ blog_id ) , ARRAY_A ) ; // @codingStandardsIgnoreLine }
Get a book from a user catalog.

@param int $blog_id

@return array
Get a book from a user catalog .